| IndexMaxPQKey Methods |
The IndexMaxPQKey generic type exposes the following members.
| Name | Description | |
|---|---|---|
| ChangeKey |
Change the key associated with index i to the specified value. | |
| Contains |
Is i an index on this priority queue? | |
| DecreaseKey |
Decrease the key associated with index i to the specified value. | |
| Delete |
Remove the key on the priority queue associated with index i. | |
| DelMax |
Removes a maximum key and returns its associated index. | |
| GetEnumerator |
Returns an iterator that iterates over the keys on the
priority queue in descending order. | |
| IncreaseKey |
Increase the key associated with index i to the specified value. | |
| Insert |
Associate key with index i. | |
| KeyOf |
Returns the key associated with index i. | |
| MainTest |
Demo test the IndexMaxPQ data type. |