Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
A taxonomy of binary tree traversals
Berztiss A. BIT26 (3):266-276,1986.Type:Article
Date Reviewed: Mar 1 1987

Traversing binary trees is an important problem in processing data structures. We are only interested in permutations that can be described so that the length of the description is independent of the number of nodes. The author identifies 26 such traversals, and groups them into seven classes. This grouping is done by applying two operators on traversals; one operator reverses the order in which the nodes are processed, the other interchanges the meaning of left and right.

The 11 kinds of traversals that are mentioned in the literature belong to six of these classes. The last class can be obtained in the following manner: Consider a binary tree that is the Knuth representation of an arbitrary tree, and process the nodes of the original tree in a breadth-first order, pushing the sons of a processed node onto a stack.

In the last section of the paper, the author presents three traversal schemas that suffice to specify programs for all the traversals. The schemas are described as Pascal-like coroutines. Thus, the paper can be recommended to anyone who is interested in designing data structure algorithms. The paper contains a good review of earlier work and an extensive list of references.

Reviewer:  H. J. Schneider Review #: CR123089
Bookmark and Share
  Featured Reviewer  
 
Trees (G.2.2 ... )
 
 
Trees (E.1 ... )
 
 
Combinatorics (G.2.1 )
 
Would you recommend this review?
yes
no
Other reviews under "Trees": Date
Minimum diameter spanning trees and related problems
Ho J., Lee D., Chang C., Wong C. SIAM Journal on Computing 20(5): 987-997, 1991. Type: Article
Dec 1 1992
Maximum weight independent set in trees
Pawagi S. BIT 27(2): 170-180, 1987. Type: Article
May 1 1988
Polynomial time algorithms for the min cut problem on degree restricted trees
Chung M., Makedon F., Sudborough I., Turner J. SIAM Journal on Computing 14(1): 158-177, 1985. Type: Article
Jan 1 1986
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy