Click or drag to resize
IndexMinPQKeyChange Method
Change the key associated with index i to the specified value.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Change(
	int i,
	Key key
)

Parameters

i
Type: SystemInt32
i the index of the key to change
key
Type: Key
key change the key associated with index i to this key
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless 0 <= i < maxN
Remarks
See Also