 | FibonacciHeapTDecreaseKeyTo Method |
Decreases the key of the specified item in this heap to the passed
non-negative real number.
Namespace: Slash.Collections.PriorityQueuesAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntaxpublic void DecreaseKeyTo(
IPriorityQueueItem<T> item,
double newKey
)
Public Sub DecreaseKeyTo (
item As IPriorityQueueItem(Of T),
newKey As Double
)
public:
virtual void DecreaseKeyTo(
IPriorityQueueItem<T>^ item,
double newKey
) sealed
abstract DecreaseKeyTo :
item : IPriorityQueueItem<'T> *
newKey : float -> unit
override DecreaseKeyTo :
item : IPriorityQueueItem<'T> *
newKey : float -> unit
Parameters
- item
- Type: Slash.Collections.PriorityQueuesIPriorityQueueItemT
Item to decrease the key of. - newKey
- Type: SystemDouble
Item's new key.
Implements
IPriorityQueueTDecreaseKeyTo(IPriorityQueueItemT, Double)
Exceptions
See Also