Nothing Special   »   [go: up one dir, main page]

Skip to main content
Log in

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

  • Published:
Order Aims and scope Submit manuscript

Abstract

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 consistent interest in the notion of when a combinatorial listing problem admits a very special regular structure in which transition times between objects being listed are uniformly bounded by a fixed constant. Early descriptions of suchloop-free listing algorithms may be found in the bookAlgorithmic Combinatorics by Even (1973). Recently, the problem of counting all linear extensions of a partially ordered set has received attention with regard to both of these combinatorial concepts. Brightwell and Winkler (1991) have shown, by a very ingenious argument, that the poset-extension counting problem is #P-complete. Pruesse and Ruskey (1992) have shown that the corresponding listing problem can be solved in constant amortized time and have posed the problem of finding a loop-free algorithm for the poset-extension problem. The present paper presents a solution to this latter problem. This sequence of results represents an interesting juxtaposition, in a fixed, naturally-occurring combinatorial problem, of intricate and precisely defined “irregularities” with respect to counting with very strong regularities with respect to listing.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Aho, A., Hopcroft, J., and Ullman, J. (1974)The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, Mass.

    Google Scholar 

  2. Brightwell, G. and Winkler, P. (1991) Counting linear extensions,Order 8, 225–242.

    Google Scholar 

  3. Ehrlich, G. (1973) Loopless algorithms for generating permutations, combinations, and other combinatorial configurations,J. Assoc. Comput. Mach. 20, 500–513.

    Google Scholar 

  4. Even, S. (1973)Algorithmic Combinatorics, The Macmillan Company, New York.

    Google Scholar 

  5. Gray, F. (1953) Pulse code communication,U.S. Patent 2632058.

  6. Hopcroft, J. E. and Ullman, J. D. (1979)Introduction to Automata Theory, Languages, and Computation, Addison-Wesley, Reading, Mass.

    Google Scholar 

  7. Joichi, J. T., White, D. E., and Williamson, S. G. (1980) Combinatorial Gray codes,SIAM J. Computing 9, 130–141.

    Google Scholar 

  8. Johnson, S. M. (1963) Generation of permutations by adjacent transpositions,Mathematics of Computation 17, 282–285.

    Google Scholar 

  9. Knuth, D. (1966)The Art of Computer Programming, Vol. II, Addison-Wesley, Palo Alto.

    Google Scholar 

  10. Koda, Y. and Ruskey, F. (1993) A Gray code for the ideals of a forest poset,J. Algorithms 15, 324–340.

    Google Scholar 

  11. Pruesse, G. and Ruskey, F. (1994) Generating linear extensions fast,SIAM J. Computing 23, 373–386.

    Google Scholar 

  12. Trotter, H. (1962) Algorithm 115: Perm.,Communications of the ACM 5, 434–435.

    Google Scholar 

  13. Valiant, L. (1979) The complexity of computing the permanent,Theoretical Computer Science 8, 189–201.

    Google Scholar 

  14. Wilf, H. (1977) A unified setting fjor sequencing, ranking, and selection algorithms for combinatorial objects,Advances in Math. 24, 281–291.

    Google Scholar 

  15. Wilf, H. (1989) Combinatorial algorithms: An update, inCBMS-NSF Regional Conf. Series in Appl. Math. SIAM, Philadelphia.

    Google Scholar 

  16. Williamson, S. G. (1988)Combinatorics for Computer Science, Computer Science Press, Rockdale, MD.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by I. Rival

Research supported by the National Security Agency.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Canfield, E.R., Williamson, S.G. A loop-free algorithm for generating the linear extensions of a poset. Order 12, 57–75 (1995). https://doi.org/10.1007/BF01108590

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01108590

Mathematics Subject Classifications (1991)

Key words

Navigation