Wiki

Clone wiki

RogueSharp / RogueSharp.Algorithms / IndexMinPriorityQueue_1 / DecreaseKey

IndexMinPriorityQueueTDecreaseKey Method

Decrease the key associated with the specified index to the specified value

Namespace: RogueSharp.Algorithms
Assembly:

Syntax

public void DecreaseKey(
    int index,
    T key
)

Parameters

index

Type: SystemInt32
The index of the key to decrease

key

Type: T
Decrease the key associated with the specified index to this key

See Also

Reference

IndexMinPriorityQueueT Class
RogueSharp.Algorithms Namespace

[3]: 2014-2016 Faron Bracy

Updated