Click or drag to resize
FibonacciHeapTDecreaseKey Method
Decreases the key of the specified item in this heap 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
public 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.

Implements

IPriorityQueueTDecreaseKey(IPriorityQueueItemT, Double)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiondelta is negative.
InvalidOperationException This heap is empty.
See Also