![]() |
Quetzal-CoaTL
The Coalescence Template Library
|
Coalescence Binary Trees classes provide a way to guarantee that each vertex \(v\) has exactly
The graph structure is bidirectional and allows to model a forest of disconnected trees. That is, if a vertex has no predecessor, then it's either a root (if it has 2 successors) or an isolated vertex (if it has no successor).
Users will encounter this type of tree when returning from coalescence binary mergers, or if they simply want to build and manipulate graphs while enforcing a binary tree structure.
Coalescence Binary Trees can store an additional arbitrary type of information (called a Property Class) along their vertices or edges: if the user decides to do so, the tree class interface adapts to offer ways to manipulate this information.
There are logically 4 different classes (equivalently interfaces) resulting from this:
VertexProperty
on each vertex: EdgeProperty
on each edge: VertexProperty
and EdgeProperty
information :Usage examples are described in their respective class documentation.