| Package | Description |
|---|---|
| salvo.jesus.util |
| Modifier and Type | Method and Description |
|---|---|
HeapNode |
Heap.contains(Object object,
Comparator heapnodeobjectcomparator)
Determines if the given object is encapsulated by one of the nodes
in the heap.
|
HeapNode |
Heap.remove()
Remove the item with the highest priority from the heap.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Heap.insert(HeapNode node)
Add a new item into the heap
|
void |
Heap.setPriority(HeapNode node,
double priority)
Sets the priority of a specific node in the heap, thereby also forcing
to fixup the heap to satisfy the heap condition.
|
Copyright © 2019 JULIE Lab, Germany. All rights reserved.