#include <dai/weightedgraph.h>
Inherits std::vector< T >.
Public Member Functions | |
RootedTree () | |
Default constructor. | |
RootedTree (const GraphEL &T, size_t Root) | |
Constructs a rooted tree from a tree and a root. |
By convention, the edges are stored such that they point away from the root and such that edges nearer to the root come before edges farther away from the root.
dai::RootedTree::RootedTree | ( | ) | [inline] |
Default constructor.
dai::RootedTree::RootedTree | ( | const GraphEL & | T, | |
size_t | Root | |||
) |
Constructs a rooted tree from a tree and a root.