Click or drag to resize
IndexMinPQKey Methods

The IndexMinPQKey generic type exposes the following members.

Methods
  NameDescription
Public methodChange
Change the key associated with index i to the specified value.
Public methodChangeKey
Change the key associated with index i to the specified value.
Public methodContains
Is i an index on this priority queue?
Public methodDecreaseKey
Decrease the key associated with index i to the specified value.
Public methodDelete
Remove the key associated with index i.
Public methodDelMin
Removes a minimum key and returns its associated index.
Public methodGetEnumerator
Returns an iterator that iterates over the keys on this priority queue in ascending order.
Public methodIncreaseKey
Increase the key associated with index i to the specified value.
Public methodInsert
Associates key with index i.
Public methodKeyOf
Returns the key associated with index i.
Public methodStatic memberMainTest
Demo test the IndexMinPQ data type.
Public methodToString
Formatted string for the IndexMinPQ class
(Overrides ObjectToString.)
Top
See Also