Loop-free Gray code algorithms for the set of compositions (Q655198): Difference between revisions

From MaRDI portal
Set OpenAlex properties.
ReferenceBot (talk | contribs)
Changed an Item
 
Property / cites work
 
Property / cites work: Gray code for derangements / rank
 
Normal rank
Property / cites work
 
Property / cites work: Loopless Algorithms for Generating Permutations, Combinations, and Other Combinatorial Configurations / rank
 
Normal rank
Property / cites work
 
Property / cites work: Combinatorics of Compositions and Words / rank
 
Normal rank
Property / cites work
 
Property / cites work: Generation of Permutations by Adjacent Transposition / rank
 
Normal rank
Property / cites work
 
Property / cites work: A Gray code for compositions / rank
 
Normal rank
Property / cites work
 
Property / cites work: Generating permutations of a bag by interchanges / rank
 
Normal rank
Property / cites work
 
Property / cites work: Loopless Generation of Trees with Specified Degrees / rank
 
Normal rank
Property / cites work
 
Property / cites work: Generating Multiset Permutations in Constant Time / rank
 
Normal rank
Property / cites work
 
Property / cites work: Gray codes, loopless algorithm and partitions / rank
 
Normal rank
Property / cites work
 
Property / cites work: Generating permutations with given ups and downs / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4325282 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4511229 / rank
 
Normal rank
Property / cites work
 
Property / cites work: On the loopless generation of binary tree sequences / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q2752160 / rank
 
Normal rank
Property / cites work
 
Property / cites work: A loopless algorithm for generating the permutations of a multiset / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4504909 / rank
 
Normal rank

Latest revision as of 18:52, 4 July 2024

scientific article
Language Label Description Also known as
English
Loop-free Gray code algorithms for the set of compositions
scientific article

    Statements

    Loop-free Gray code algorithms for the set of compositions (English)
    0 references
    0 references
    0 references
    2 January 2012
    0 references
    The topic of Gray codes for the set of compositions with non-negative integer parts has been studied by several authors. Klingsberg gave a non-recursive description of a Gray code for this set after the recursive version of Knuth. Recently, Walsh modified Klingsberg's algorithm to find a Gray code which generates the set of all bounded compositions with non-negative integer parts. In this paper, the authors present two loopless Gray code algorithms for the set of compositions with positive integer parts. Each composition is obtained from its predecessor by either incrementing one part by 1 and decrementing another part by 1, or substracting \(i\) from a part and inserting \(i\) to the right of the composition. In an appendix the authors present their algorithms in C++.
    0 references
    composition
    0 references
    Gray code
    0 references
    loopless algorithm
    0 references

    Identifiers