Skip to main content

Tree traversal (backtracking)

  • Chapter
Algorithms and Programming

Part of the book series: Modern Birkhäuser Classics ((MBC))

  • 806 Accesses

Abstract

In the preceding section we considered several problems of a similar type: “generate all the elements of some set A”. The scheme used to solve these problems was the following one: A linear ordering on A was imposed and a procedure to generate the next element of A (according to that order) was described. Sometimes this scheme cannot be applied directly. In this chapter, we consider another useful approach that allows us to generate all elements of some set. It is called “backtracking” or “tree traversal”.

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

Access this chapter

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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer Science+Business Media New York

About this chapter

Cite this chapter

Shen, A. (1997). Tree traversal (backtracking). In: Algorithms and Programming. Modern Birkhäuser Classics. Birkhäuser, Boston, MA. https://doi.org/10.1007/978-0-8176-4761-2_3

Download citation

  • DOI: https://doi.org/10.1007/978-0-8176-4761-2_3

  • Publisher Name: Birkhäuser, Boston, MA

  • Print ISBN: 978-0-8176-4760-5

  • Online ISBN: 978-0-8176-4761-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics