Click or drag to resize

PriorityQueueTKey, TValueToArray Method

Copies the elements of the priority queue to a new array, sorts it and returns it in priority order.

This is an O(n log(n)) operation

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public TValue[] ToArray(
	bool highestFirst
)

Parameters

highestFirst
Type: SystemBoolean

[Missing <param name="highestFirst"/> documentation for "M:DHI.Mike1D.Generic.PriorityQueue`2.ToArray(System.Boolean)"]

Return Value

Type: TValue

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.PriorityQueue`2.ToArray(System.Boolean)"]

See Also