A Gray Code for the Ideals of a Forest Poset

@article{Koda1993AGC,
  title={A Gray Code for the Ideals of a Forest Poset},
  author={Yasunori Koda and Frank Ruskey},
  journal={J. Algorithms},
  year={1993},
  volume={15},
  pages={324-340}
}
  • Y. Koda, F. Ruskey
  • Published 1 September 1993
  • Computer Science, Mathematics
  • J. Algorithms
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… 

Figures from this paper

Efficient generation of the ideals of a poset in gray code order, part II

  • Mohamed Abdo
  • Computer Science, Mathematics
    Theor. Comput. Sci.
  • 2013

Efficient generation of the ideals of a poset in Gray code order

Gray Codes for the Ideals of Interval Orders

TLDR
It is shown that if the graph G2 is the covering graph of the lattice of the order ideals of an interval order, then G2 has a Hamiltonian path, which leads to an algorithm to generate the ideals of interval orders in constant time per ideal.

CAT-generation of ideals

TLDR
The tree traversal is refined, a method introduced by Pruesse and Ruskey in 1993, to obtain a CAT-generator for two large classes of posets: posets of interval dimension at most two and so called locally planar posets.

Exploiting the Lattice of Ideals Representation of a Poset

In this paper, we demonstrate how some simple graph counting operations on the ideal lattice representation of a partially ordered set (poset)P allow for the counting of the number of linear

Efficient algorithms on distributive lattices

A loop-free algorithm for generating the linear extensions of a poset

A precise concept of when a combinatorial counting problem is “hard” was first introduced by Valiant (1979) when he defined the notion of a #P-complete problem. Correspondingly, there has been

Efficient computation of rank probabilities in posets

TLDR
An algorithm that can be used to sample weak order extensions uniformly at random is introduced and is proven to be situated between strong stochastic transitivity and a new type of transitivity called delta*-transitivity.

IDEALS IN A FOREST, ONE-WAY INFINITE BINARY TREES AND THE CONTRACTION METHOD

The analysis of an algorithm by Koda and Ruskey for listing ideals in a forest poset leads to a study of random binary trees and their limits as infinite random binary trees. The corresponding finite

Loopless Functional Algorithms

TLDR
This paper calculates loopless functional versions of the Gray code algorithm, the Koda-Ruskey algorithm for listing the prefixes of a forest, and the Johnson-Trotter algorithm for generating permutations.

References

SHOWING 1-10 OF 26 REFERENCES

Listing and Counting Subtrees of Equal Size of a Binary Tree

  • T. Hikita
  • Computer Science
    Inf. Process. Lett.
  • 1983

A Class of Algorithms which Require Nonlinear Time to Maintain Disjoint Sets

  • R. Tarjan
  • Computer Science
    J. Comput. Syst. Sci.
  • 1979

On the average number of nodes in a subtree of a tree

  • R. Jamison
  • Computer Science, Mathematics
    J. Comb. Theory, Ser. B
  • 1983

A simplified loop-free algorithm for generating permutations

TLDR
A simplification of Ehrlich's loop-free version of Johnson and Trotter's algorithm for generation of all permutations of a set of elements and its validity is proved.

Listing and Counting Subtrees of a Tree

Given an ordered tree T, an ordering is defined on the set of subtrees of T. Algorithms are presented for listing all subtrees in that order, and for determining the tree occupying a given position

Circular Cuts in a Network

TLDR
This paper presents techniques for reducing the size of the circular cut problem by reducing the number of cuts that need to be considered and by condensing certain nodes.

Constructive combinatorics

The first € price and the £ and $ price are net prices, subject to local VAT. Prices indicated with * include VAT for books; the €(D) includes 7% for Germany, the €(A) includes 10% for Austria.

Loopless Algorithms for Generating Permutations, Combinations, and Other Combinatorial Configurations

The purpose of this work is to find a method for building loopless algorithms for listing combinatorial items, like partitions, permutations, combinations. Gray code, etc. Algorithms for the above

Operating Systems Theory

TLDR
As one of the part of book categories, operating systems theory always becomes the most wanted book.

and E

  • Reingold, \E cient Generation of the Binary Re ected Gray Code and its Applications," Communications of the ACM, 19
  • 1976