Struct PairingHeap::Node

Nested Relationships

This struct is a nested type of Template Class PairingHeap.

Struct Documentation

struct Node

a node of the heap

Public Members

P priority
T value
Node *child = nullptr

the leftmost child

Node *next = nullptr

the right sibling

Node *prev = nullptr

the left sibling, or the parent