Click or drag to resize

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)

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

Parameters

key
Type: TKey
Key value

Return Value

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