An efficient Gray code algorithm for generating all permutations with a given major index - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Journal of Discrete Algorithms Année : 2014

An efficient Gray code algorithm for generating all permutations with a given major index

Résumé

In Effler and Ruskey (2003) [1] the authors give an algorithm, which appears to be CAT, for generating permutations with a given major index. In the present paper we give a new algorithm for generating a Gray code for subexcedant sequences. We show that this algorithm is CAT and modify it into a CAT generating algorithm for a Gray code for permutations with a given major index.

Dates et versions

hal-01001561 , version 1 (04-06-2014)

Identifiants

Citer

Vincent Vajnovszki. An efficient Gray code algorithm for generating all permutations with a given major index. Journal of Discrete Algorithms, 2014, 26, pp.77-88. ⟨10.1016/j.jda.2014.01.001⟩. ⟨hal-01001561⟩
69 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More