vg
tools for working with variation graphs
|
#include <utility.hpp>
Public Member Functions | |
TreeNode () | |
~TreeNode () | |
void | for_each_preorder (function< void(TreeNode< T > *)> lambda) |
void | for_each_postorder (function< void(TreeNode< T > *)> lambda) |
Public Attributes | |
T | v |
vector< TreeNode< T > * > | children |
TreeNode< T > * | parent |
|
inline |
|
inline |
|
inline |
|
inline |
vector<TreeNode<T>*> vg::TreeNode< T >::children |
TreeNode<T>* vg::TreeNode< T >::parent |
T vg::TreeNode< T >::v |