32 #ifndef TREEMACHINENODE_H__
33 #define TREEMACHINENODE_H__
77 virtual const char*
get_name()
const {
return "TreeMachineNode"; }
163 for (int32_t i=0;i<depth;++i)
166 data_print_func(node->
data);
void parent(CTreeMachineNode *par)
void machine(int32_t idx)
virtual void add_child(CTreeMachineNode *child)
int32_t get_num_elements() const
virtual void set_children(CDynamicObjectArray *children)
virtual ~CTreeMachineNode()
CTreeMachineNode * m_parent
Class SGObject is the base class of all shogun objects.
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
virtual CDynamicObjectArray * get_children()
CTreeMachineNode * parent()
The node of the tree structure forming a TreeMachine The node contains a pointer to its parent and a ...
void debug_print(data_print_func_t data_print_func)
CDynamicObjectArray * m_children
all of classes and functions are contained in the shogun namespace
CSGObject * get_element(int32_t index) const
void push_back(CSGObject *e)
void(* data_print_func_t)(const T &)
virtual const char * get_name() const
static void debug_print_impl(data_print_func_t data_print_func, CTreeMachineNode< T > *node, int32_t depth)