Lexicographic unranking algorithms for the Twelvefold Way - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2024

Lexicographic unranking algorithms for the Twelvefold Way

Résumé

The Twelvefold Way represents Rota's classification, addressing the most fundamental enumeration problems and their associated combinatorial counting formulas. These distinct problems are connected to enumerating functions defined from a set of elements denoted by N into another one K. The counting solutions for the twelve problems are well known. We are interested in unranking algorithms. Such an algorithm is based on an underlying total order on the set of structures we aim at constructing. By taking the rank of an object, i.e. its number according to the total order, the algorithm outputs the structure itself after having built it. One famous total order is the lexicographic order: it is probably the one that is the most used by people when one wants to order things. While the counting solutions for Rota's classification have been known for years it is interesting to note that three among the problems have yet no lexicographic unranking algorithm. In this paper we aim at providing algorithms for the last three cases that remain without such algorithms. After presenting in detail the solution for set partitions associated with the famous Stirling numbers of the second kind, we explicitly explain how to adapt the algorithm for the two remaining cases. Additionally, we propose a detailed and fine-grained complexity analysis based on the number of bitwise arithmetic operations.
Fichier principal
Vignette du fichier
CurielGenitrini.pdf (798.01 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04411470 , version 1 (23-01-2024)
hal-04411470 , version 2 (11-02-2024)
hal-04411470 , version 3 (21-02-2024)

Identifiants

  • HAL Id : hal-04411470 , version 3

Citer

Amaury Curiel, Antoine Genitrini. Lexicographic unranking algorithms for the Twelvefold Way. 2024. ⟨hal-04411470v3⟩
143 Consultations
64 Téléchargements

Partager

Gmail Facebook X LinkedIn More