Logo Data Structures and Algorithms with Object-Oriented Design Patterns in C++
next up previous contents index

Member Variables

The GeneralTree class definition comprises three member variables--key, degree, and list. The first, key, represents to the root node of the tree. It is a pointer to an Object. The second, an unsigned integer degree, records the degree of the root node of the tree. The third, list, is a linked list of pointers to GeneralTree instances. It is declared by instantiating the LinkedList<T> template class for tex2html_wrap_inline63928. This list contains pointers to the subtrees of the given tree.


next up previous contents index

Bruno Copyright © 1997 by Bruno R. Preiss, P.Eng. All rights reserved.