Click or drag to resize
IPriorityQueueTDecreaseKeyTo Method
Decreases the key of the specified item in this priority queue to the passed non-negative real number.

Namespace: Slash.Collections.PriorityQueues
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
void DecreaseKeyTo(
	IPriorityQueueItem<T> item,
	double newKey
)

Parameters

item
Type: Slash.Collections.PriorityQueuesIPriorityQueueItemT
Item to decrease the key of.
newKey
Type: SystemDouble
Item's new key.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException The resulting key would be greater than the current one.
InvalidOperationException This priority queue is empty.
See Also