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

Namespace: Slash.Collections.PriorityQueues
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public 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.

Implements

IPriorityQueueTDecreaseKeyTo(IPriorityQueueItemT, Double)
Exceptions
ExceptionCondition
ArgumentOutOfRangeException The resulting key would be greater than the current one.
InvalidOperationException This heap is empty.
See Also