-
Methods in placement that return PNode
Modifier and Type |
Method |
Description |
PNode<T> |
MinPairingHeap.insert(T x) |
Insert into the priority queue, and return a PNode that can be used by
decreaseKey.
|
Methods in placement with parameters of type PNode
Modifier and Type |
Method |
Description |
void |
MaxPairingHeap.add(PNode<T> p) |
|
void |
MinPairingHeap.decreaseKey(PNode<T> p,
T newVal) |
Change the value of the item stored in the pairing heap.
|
void |
MaxPairingHeap.increaseKey(PNode<T> p,
T newVal) |
Change the value of the item stored in the pairing heap.
|