A Gray Code for the Ideals of a Forest Poset. Koda, Y. & Ruskey, F. Journal of Algorithms, 15(2):324--340, September, 1993.
A Gray Code for the Ideals of a Forest Poset [link]Paper  doi  abstract   bibtex   
We present two algorithms for listing all the ideals of a forest poset. These algorithms generate ideals in a gray code manner; that is, consecutive ideals differ by exactly one element. Both algorithms use storage O(n), where n is the number of elements in the poset. On each iteration, the first algorithm does a partial traversal of the current ideal being listed and runs in time O(nN), where N is the number of ideals of the poset. The second algorithm mimics the first, but it eliminates the traversal and runs in time O(N). This algorithm has the property that the amount of computation between successive ideals is O(1); such algorithms are said to be loopless.
@article{ Koda1993,
  abstract = {We present two algorithms for listing all the ideals of a forest poset. These algorithms generate ideals in a gray code manner; that is, consecutive ideals differ by exactly one element. Both algorithms use storage O(n), where n is the number of elements in the poset. On each iteration, the first algorithm does a partial traversal of the current ideal being listed and runs in time O(nN), where N is the number of ideals of the poset. The second algorithm mimics the first, but it eliminates the traversal and runs in time O(N). This algorithm has the property that the amount of computation between successive ideals is O(1); such algorithms are said to be loopless.},
  author = {Koda, Y. and Ruskey, F.},
  doi = {10.1006/jagm.1993.1044},
  file = {:Users/KunihiroWASA/Dropbox/paper/1993/Koda, Ruskey, A Gray Code for the Ideals of a Forest Poset, 1993.pdf:pdf},
  issn = {01966774},
  journal = {Journal of Algorithms},
  month = {September},
  number = {2},
  pages = {324--340},
  title = {{A Gray Code for the Ideals of a Forest Poset}},
  url = {http://www.sciencedirect.com/science/article/pii/S0196677483710448 http://linkinghub.elsevier.com/retrieve/pii/S0196677483710448},
  volume = {15},
  year = {1993}
}
Downloads: 0