ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::JoinTree< K, V, B, G, Policy, A >::Node Struct Reference

a node: what the navigation below reads More...

#include <ADS/tree/JoinTree.h>

Public attributes

Node * left = nullptr
 the left child
Node * right = nullptr
 the right child
std::size_t size = 1
 the nodes of the subtree
std::uint64_t meta = 0
 the height plus 1 (AVL), the black height times 2 plus 1 if red (Red-Black), the priority (treap)
AugValue aug {}
 the augmented value
K key
 the key
V value
 the value

Detailed description

template<std::totally_ordered K, class V, class B, class G, class Policy, class A>
struct ADS::JoinTree< K, V, B, G, Policy, A >::Node

a node: what the navigation below reads

Member data documentation

◆ aug

template<std::totally_ordered K, class V, class B, class G, class Policy, class A>
AugValue ADS::JoinTree< K, V, B, G, Policy, A >::Node::aug {}

the augmented value

◆ key

template<std::totally_ordered K, class V, class B, class G, class Policy, class A>
K ADS::JoinTree< K, V, B, G, Policy, A >::Node::key

the key

◆ left

template<std::totally_ordered K, class V, class B, class G, class Policy, class A>
Node* ADS::JoinTree< K, V, B, G, Policy, A >::Node::left = nullptr

the left child

◆ meta

template<std::totally_ordered K, class V, class B, class G, class Policy, class A>
std::uint64_t ADS::JoinTree< K, V, B, G, Policy, A >::Node::meta = 0

the height plus 1 (AVL), the black height times 2 plus 1 if red (Red-Black), the priority (treap)

◆ right

template<std::totally_ordered K, class V, class B, class G, class Policy, class A>
Node* ADS::JoinTree< K, V, B, G, Policy, A >::Node::right = nullptr

the right child

◆ size

template<std::totally_ordered K, class V, class B, class G, class Policy, class A>
std::size_t ADS::JoinTree< K, V, B, G, Policy, A >::Node::size = 1

the nodes of the subtree

◆ value

template<std::totally_ordered K, class V, class B, class G, class Policy, class A>
V ADS::JoinTree< K, V, B, G, Policy, A >::Node::value

the value


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