|
ADS
Algorithms and Data Structures
|
a node of the heap More...
#include <ADS/priority/FibonacciHeapPriorityQueue.h>
Public attributes | |
| P | priority |
| the priority | |
| T | value |
| the item | |
| Node * | parent = nullptr |
| the parent, nullptr for a root | |
| Node * | child = nullptr |
| a child, the entry of their circular list | |
| Node * | left = this |
| the previous node of its circular list | |
| Node * | right = this |
| the next node of its circular list | |
| int | degree = 0 |
| the number of children | |
| bool | mark = false |
| whether it lost a child since it became one | |
a node of the heap
| Node* ADS::FibonacciHeapPriorityQueue< T, P, A >::Node::child = nullptr |
a child, the entry of their circular list
| int ADS::FibonacciHeapPriorityQueue< T, P, A >::Node::degree = 0 |
the number of children
| Node* ADS::FibonacciHeapPriorityQueue< T, P, A >::Node::left = this |
the previous node of its circular list
| bool ADS::FibonacciHeapPriorityQueue< T, P, A >::Node::mark = false |
whether it lost a child since it became one
| Node* ADS::FibonacciHeapPriorityQueue< T, P, A >::Node::parent = nullptr |
the parent, nullptr for a root
| P ADS::FibonacciHeapPriorityQueue< T, P, A >::Node::priority |
the priority
| Node* ADS::FibonacciHeapPriorityQueue< T, P, A >::Node::right = this |
the next node of its circular list
| T ADS::FibonacciHeapPriorityQueue< T, P, A >::Node::value |
the item