ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::SearchTree< K, V, RB >::Link Struct Reference

the links of a node; the sentinel leaf is a Link and nothing more More...

#include <ADS/tree/SearchTree.h>

Inheritance diagram for ADS::SearchTree< K, V, RB >::Link:
ADS::SearchTree< K, V, RB >::Node

Public attributes

Link * parent
 the parent
Link * left
 the left child
Link * right
 the right child
Color color = Color::BLACK
 the color, read only if RB
std::size_t size = 0
 the nodes of the subtree, 0 for nil

Detailed description

template<std::totally_ordered K, class V, bool RB>
struct ADS::SearchTree< K, V, RB >::Link

the links of a node; the sentinel leaf is a Link and nothing more

Member data documentation

◆ color

template<std::totally_ordered K, class V, bool RB>
Color ADS::SearchTree< K, V, RB >::Link::color = Color::BLACK

the color, read only if RB

◆ left

template<std::totally_ordered K, class V, bool RB>
Link* ADS::SearchTree< K, V, RB >::Link::left

the left child

◆ parent

template<std::totally_ordered K, class V, bool RB>
Link* ADS::SearchTree< K, V, RB >::Link::parent

the parent

◆ right

template<std::totally_ordered K, class V, bool RB>
Link* ADS::SearchTree< K, V, RB >::Link::right

the right child

◆ size

template<std::totally_ordered K, class V, bool RB>
std::size_t ADS::SearchTree< K, V, RB >::Link::size = 0

the nodes of the subtree, 0 for nil


The documentation for this struct was generated from the following file: