golib
0.5
|
Running through a binary tree. More...
#include <gobtree.h>
Public Member Functions | |
bool | breadthFirst (typename goBTree< T >::ElementPtr root) |
bool | depthFirst (typename goBTree< T >::ElementPtr root) |
Runs depth-first (left to right). More... | |
virtual bool | action (typename goBTree< T >::ElementPtr node) |
Running through a binary tree.
Currently only offers depth first order.
bool goBTreeAlgorithm< T >::depthFirst | ( | typename goBTree< T >::ElementPtr | root | ) |