#include <tree.hh>
Public Member Functions | |
| void | add_tree_down (T &elt) |
| Bind a new tree downer the current. | |
| void | add_tree_up (T &elt) |
| Bind a new tree upper the current. | |
| bool | check_consistency () |
| Check the consistency of the tree. | |
| branch< T > | main_branch () |
| Convert the tree into brach. | |
| tree_node< T > * | root () |
| The getter of the root. | |
| tree (tree_node< T > *root) | |
| Constructor. | |
| tree () | |
| Constructor. | |
| mln::util::tree< T >::tree | ( | ) | [inline] |
Constructor.
| mln::util::tree< T >::tree | ( | tree_node< T > * | root | ) | [inline] |
| void mln::util::tree< T >::add_tree_down | ( | T & | elt | ) | [inline] |
| void mln::util::tree< T >::add_tree_up | ( | T & | elt | ) | [inline] |
| bool mln::util::tree< T >::check_consistency | ( | ) | [inline] |
Check the consistency of the tree.
References mln::util::tree< T >::root().
| branch< T > mln::util::tree< T >::main_branch | ( | ) | [inline] |
| tree_node< T > * mln::util::tree< T >::root | ( | ) | [inline] |
The getter of the root.
Referenced by mln::util::tree< T >::check_consistency(), mln::util::display_tree(), mln::util::tree< T >::main_branch(), and mln::util::tree_to_fast().
1.5.6