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

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

Parameters

item
Type: Slash.Collections.PriorityQueuesIPriorityQueueItemT
Item to decrease the key of.
delta
Type: SystemDouble
Non-negative real number to be subtracted from the item's key.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiondelta is negative.
InvalidOperationException This priority queue is empty.
See Also