PriorityQueueTKey, TValueFindFirstNodeAfter Method

Finds the first node in the priority queue which comes after any node having the provided key, i.e. the node with the largest key value less than the provided key value.

It does a tree search, and should only be used to find key values that are close to the root key, example queue.FindeFirstNodeAfter(queue.FirstNode.Key)

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public PriorityQueueTKey, TValueNode FindFirstNodeAfter(
	TKey key
)

Parameters

key  TKey
Key value

Return Value

PriorityQueueTKey, TValueNode
First node in priority queue with key less than, null if not existing

See Also