|
ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
|
a binary spanning tree of integers in the [0,size) interval
More...
#include <tree.h>
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 |
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.
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
1.9.8