Gray Codes for the Ideals of Interval Orders
The generation of combinatorial objects in a Gray code manner means that the difference between successive objects is small, e.g., one element for subsets or one transposition for permutations of a set. The existence of such Gray codes is often equivalent to an appropriately defined graph on these o...
Gespeichert in:
Veröffentlicht in: | Journal of algorithms 1997-10, Vol.25 (1), p.52-66 |
---|---|
Hauptverfasser: | , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The generation of combinatorial objects in a Gray code manner means that the difference between successive objects is small, e.g., one element for subsets or one transposition for permutations of a set. The existence of such Gray codes is often equivalent to an appropriately defined graph on these objects being Hamiltonian. We show that if the graphGis the covering graph of the lattice of the order ideals of an interval order, thenG2has a Hamiltonian path. This leads to an algorithm to generate the ideals of interval orders in constant time per ideal. We also prove that the subgraph ofG2induced by the ideals of any fixed cardinality also has a Hamiltonian path. This proves a conjecture of Pruesse and Ruskey for interval orders. We also show how these paths can be combined into a layered Hamiltonian path ofG2, yielding a Gray code on the ideals in nondecreasing order of their cardinalities. |
---|---|
ISSN: | 0196-6774 1090-2678 |
DOI: | 10.1006/jagm.1997.0863 |