aglowav::BiTree< biNode > Class Template Referenceabstract
Binary tree. More...
#include <tree.hh>
Inheritance diagram for aglowav::BiTree< biNode >:
Public Types | |
typedef biNode | Node |
typedef BiTreeTraits< biNode > | Traits |
How a Node has to behave. More... | |
Public Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Information about the tree. More... | |
virtual uint | nleaf () const=0 |
Number of leafs. More... | |
virtual const biNode * | root () const =0 |
Root of the tree. More... | |
virtual const biNode * | root () const=0 |
Root of the tree. More... | |
void | sketch (std::ostream &os, const biNode *rt=0, uint l=0) const |
Sketches the structure of the tree. More... | |
Detailed Description
template<class biNode>
class aglowav::BiTree< biNode >
Binary tree.
Member Typedef Documentation
◆ Node
|
inherited |
◆ Traits
template<class biNode >
typedef BiTreeTraits<biNode> aglowav::BiTree< biNode >::Traits |
Member Function Documentation
◆ info()
|
virtualinherited |
Information about the tree.
◆ nleaf()
|
pure virtualinherited |
Number of leafs.
◆ root() [1/2]
template<class biNode >
|
pure virtual |
Root of the tree.
◆ root() [2/2]
|
pure virtualinherited |
Root of the tree.
◆ sketch()
|
inherited |
Sketches the structure of the tree.
- Parameters
-
rt root of the subtree which is to sketch l level of the root of the subtree
The documentation for this class was generated from the following file:
- aglowav/tree.hh