graaf
Loading...
Searching...
No Matches
graaf::tree< VERTEX_T, EDGE_T > Class Template Referenceexport
module graaf

A generic tree structure. More...

Classes

struct  tree_node
 Represents a node in the tree. More...
 Represents a link to a child node with an associated edge value. More...

Public Member Functions

 tree (VERTEX_T root_val)
 Constructs a tree with a root value.
tree_node * root ()
const tree_node * root () const

Detailed Description

template<typename VERTEX_T, typename EDGE_T>
class graaf::tree< VERTEX_T, EDGE_T >

A generic tree structure.

  • Template Parameters
    VERTEX_TThe type of the vertex.
    EDGE_TThe type of the edge.

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