|
Milena (Olena)
User documentation 2.0a Id
|
Class of generic tree. More...
#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 () | |
| Constructor. | |
| tree (tree_node< T > *root) | |
| Constructor. | |
Class of generic tree.
|
inline |
|
inline |
Bind a new tree upper the current.
| [in] | elt | The new value of the new tree_node of the new tree add upper the current. |
Definition at line 317 of file tree.hh.
References mln::util::tree_node< T >::children(), and mln::util::tree_node< T >::set_parent().
|
inline |
The getter of the root.
Definition at line 301 of file tree.hh.
Referenced by mln::util::display_tree(), and mln::util::tree_to_fast().