graaf
Loading...
Searching...
No Matches
graaf::tree< VERTEX_T, EDGE_T >::tree_node Struct Reference
module graaf

Represents a node in the tree. More...

Public Member Functions

tree_node * add_child (EDGE_T edge_val, VERTEX_T child_val)
 Adds a child to this node. Implementation merged from tree.tpp logic.

Public Attributes

VERTEX_T value {}
tree_node * parent {}
std::vector< child_link > children {}

Detailed Description

template<typename VERTEX_T, typename EDGE_T>
struct graaf::tree< VERTEX_T, EDGE_T >::tree_node

Represents a node in the tree.


The documentation for this struct was generated from the following file:
  • /home/mccakit/desktop/graaf/src/tree.cpp