2001
DOI: 10.1016/s0020-0190(01)00141-7
|View full text |Cite
|
Sign up to set email alerts
|

Ranking and unranking permutations in linear time

Abstract: A ranking function for the permutations on n symbols assigns a unique integer in the range [0, n! − 1] to each of the n! permutations. The corresponding unranking function is the inverse: given an integer between 0 and n! − 1, the value of the function is the permutation having this rank. We present simple ranking and unranking algorithms for permutations that can be computed using O(n) arithmetic operations.  2001 Elsevier Science B.V. All rights reserved.Keywords: Permutation; Ranking; Unranking; Algorithms… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
75
0

Year Published

2005
2005
2016
2016

Publication Types

Select...
4
3
2

Relationship

0
9

Authors

Journals

citations
Cited by 97 publications
(75 citation statements)
references
References 6 publications
0
75
0
Order By: Relevance
“…We feel this difference is worth highlighting, and hence we introduced the new terms indexing and reverse-indexing for this purpose. Note that some important prior work on ranking/unranking distinguishes between these notions [21].…”
Section: Resultsmentioning
confidence: 99%
“…We feel this difference is worth highlighting, and hence we introduced the new terms indexing and reverse-indexing for this purpose. Note that some important prior work on ranking/unranking distinguishes between these notions [21].…”
Section: Resultsmentioning
confidence: 99%
“…This can be improved to by using merge-sort counting, or a binary search tree, or modular arithmetic, all techniques described in [25]. This can be further improved to [30], by using the special data structure of Dietz [7]. In [30] linear time complexity is also achieved by departing from lexicographic ordering.…”
Section: ) Review Of the Factoradic Numbering Systemmentioning
confidence: 99%
“…, q k − 1). A watermark W' can be derived from π k using Myrvold and Ruskey's linear permutation ranking algorithm (Myrvold and Ruskey, 2001). Based on the tuple hash of the sorted tuples, a group hash value is computed (H qk ) using a HMAC fuction with same key value ℜ used during embedding.…”
Section: Watermark Verificationmentioning
confidence: 99%