ug4
|
returns the minimum and maximum number of elements in all subtrees of nodes of the given level More...
#include <ntree_traverser.h>
Public Member Functions | |
void | begin_traversal (const tree_t &tree) |
void | end_traversal (const tree_t &) |
size_t | max_num_elements () const |
size_t | min_num_elements () const |
Traverser_MinMaxNumElements (size_t lvl) | |
void | visit_down (const tree_t &tree, size_t node) |
int | visit_up (const tree_t &tree, size_t node) |
Private Attributes | |
size_t | m_elemCount |
bool | m_firstEval |
size_t | m_lvl |
size_t | m_maxNumElements |
size_t | m_minNumElements |
returns the minimum and maximum number of elements in all subtrees of nodes of the given level
|
inline |
|
inline |
|
inline |
|
inline |
References ug::Traverser_MinMaxNumElements< tree_t >::m_maxNumElements.
Referenced by ug::GetMinMaxNumElements().
|
inline |
References ug::Traverser_MinMaxNumElements< tree_t >::m_minNumElements.
Referenced by ug::GetMinMaxNumElements().
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |