#include <tree.hh>
Public Types | |
typedef BiTreeTraits< biNode > | Traits |
How a Node has to behave. | |
typedef biNode | Node |
Public Member Functions | |
virtual const biNode * | root () const =0 |
Root of the tree. | |
virtual uint | nleaf () const=0 |
Number of leafs. | |
virtual std::ostream & | info (std::ostream &os) const |
Information about the tree. | |
void | sketch (std::ostream &os, const biNode *rt=0, uint l=0) const |
Binary tree
|
inherited |
typedef BiTreeTraits<biNode> aglowav::BiTree< biNode >::Traits |
|
pure virtual |
Root of the tree.
Implements aglowav::One2ManyTree< biNode >.
Implemented in aglowav::Tree01< BiClNode >, and aglowav::Tree02< BiClNode >.
|
inherited |
Sketches the structure of the tree
rt | root of the subtree which is to sketch |
l | level of the root of the subtree |