ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::PairingHeap< T, P, Aux, A >::Node Struct Reference

a node of the heap More...

#include <ADS/priority/PairingHeap.h>

Public attributes

P priority
 the priority
T value
 the item
Node * child = nullptr
 the leftmost child
Node * next = nullptr
 the right sibling
Node * prev = nullptr
 the left sibling, or the parent

Detailed description

template<class T, std::totally_ordered P = int, bool Aux = false, class A = HugePageAllocator< T >>
struct ADS::PairingHeap< T, P, Aux, A >::Node

a node of the heap

Member data documentation

◆ child

template<class T, std::totally_ordered P = int, bool Aux = false, class A = HugePageAllocator< T >>
Node* ADS::PairingHeap< T, P, Aux, A >::Node::child = nullptr

the leftmost child

◆ next

template<class T, std::totally_ordered P = int, bool Aux = false, class A = HugePageAllocator< T >>
Node* ADS::PairingHeap< T, P, Aux, A >::Node::next = nullptr

the right sibling

◆ prev

template<class T, std::totally_ordered P = int, bool Aux = false, class A = HugePageAllocator< T >>
Node* ADS::PairingHeap< T, P, Aux, A >::Node::prev = nullptr

the left sibling, or the parent

◆ priority

template<class T, std::totally_ordered P = int, bool Aux = false, class A = HugePageAllocator< T >>
P ADS::PairingHeap< T, P, Aux, A >::Node::priority

the priority

◆ value

template<class T, std::totally_ordered P = int, bool Aux = false, class A = HugePageAllocator< T >>
T ADS::PairingHeap< T, P, Aux, A >::Node::value

the item


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