ttg::BinarySpanningTree Class Reference
Documentation
a binary spanning tree of integers in the [0,size) interval
This is a binary spanning tree of the complete graph of the [0,size) set of keys, rooted at a particular key.
Public Member Functions | |
BinarySpanningTree (int size, int root) | |
~BinarySpanningTree ()=default | |
const auto | size () const |
const auto | root () const |
int | parent_key (const int child_key) const |
std::pair< int, int > | child_keys (const int parent_key) const |
Constructor & Destructor Documentation
◆ BinarySpanningTree()
|
inline |
◆ ~BinarySpanningTree()
|
default |
Member Function Documentation
◆ child_keys()
|
inline |
◆ parent_key()
|
inline |
◆ root()
|
inline |
◆ size()
|
inline |
The documentation for this class was generated from the following file:
- ttg/ttg/util/tree.h