Skip to main content

Generation of combinatorial objects

  • Chapter
  • First Online:
  • 3862 Accesses

Abstract

In this chapter, we deal with problems that require us to generate all the elements of some finite set one-by-one. We start with a simple example in section 2.1 (generating all sequences of fixed length composed of elements of some finite set). Then in section 2.2 we generate all permutations of a given set. It is more difficult since now the elements are not independent (no element should appear twice). Two other popular combinatorial objects are considered in sections 2.3 (subsets of fixed size) and 2.4 (partitions). Some applications (including Gray codes) are considered in section 2.5. In section 2.6 we consider some examples where elements to be generated are in one-to-one correspondence with elements of some other set (which are easier to generate). Finally, in section 2.7 we consider a classical problem where we have to count elements of some class (without generating them).

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   69.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alexander Shen .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Shen, A. (2010). Generation of combinatorial objects. In: Algorithms and Programming. Springer Undergraduate Texts in Mathematics and Technology. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-1748-5_2

Download citation

Publish with us

Policies and ethics