Public Types | |
typedef One2ManyTreeTraits< o2mNode > | Traits |
How a Node has to behave. | |
typedef o2mNode | Node |
Public Member Functions | |
virtual | ~One2ManyTree () |
Virtual destructor. | |
virtual const o2mNode * | 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 o2mNode *rt=0, uint l=0) const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const One2ManyTree< o2mNode > &t) |
Output. | |
typedef o2mNode aglowav::One2ManyTree< o2mNode >::Node |
typedef One2ManyTreeTraits<o2mNode> aglowav::One2ManyTree< o2mNode >::Traits |
|
inlinevirtual |
|
pure virtual |
Number of leafs.
Implemented in aglowav::Tree01< BiClNode >, and aglowav::Tree02< BiClNode >.
|
pure virtual |
Root of the tree.
Implemented in aglowav::Tree01< BiClNode >, aglowav::Tree02< BiClNode >, aglowav::BiTree< biNode >, and aglowav::BiTree< BiClNode >.
void aglowav::One2ManyTree< o2mNode >::sketch | ( | std::ostream & | os, |
const o2mNode * | rt = 0 , |
||
uint | l = 0 |
||
) | const |
Sketches the structure of the tree
rt | root of the subtree which is to sketch |
l | level of the root of the subtree |
|
friend |