Lexicographic ordering, ranking and unranking of combinations (Q3679196)
From MaRDI portal
!
This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:
scientific article; zbMATH DE number 3900765
| Language | Label | Description | Also known as |
|---|---|---|---|
| default for all languages | No label defined |
||
| English | Lexicographic ordering, ranking and unranking of combinations |
scientific article; zbMATH DE number 3900765 |
Statements
Lexicographic ordering, ranking and unranking of combinations (English)
0 references
1985
0 references
representing combinations as binary strings
0 references
lexicographic order
0 references
recursive algorithm
0 references
ranking
0 references
unranking
0 references
0.8081073760986328
0 references
0.7740447521209717
0 references
0.7604128122329712
0 references
0.7597557902336121
0 references
A simple way of representing combinations as binary strings is discussed. The bijective mapping between the set of combinations and the set of corresponding binary codewords is shown to be isotone, in lexicographic order. A recursive algorithm for enumerating all combinations in lexicographic order is presented. Simple ranking and unranking algorithms for coding and decoding position indices of combinations in a lexicographic listing are also described.
0 references