PriorityQueueTKey, TValueToNodeArray Method |
Copies the nodes 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 PriorityQueueTKey, TValueNode[] ToNodeArray(
bool highestFirst
)
Public Function ToNodeArray (
highestFirst As Boolean
) As PriorityQueueTKey, TValueNode()
public:
array<PriorityQueueTKey, TValueNode^>^ ToNodeArray(
bool highestFirst
)
Parameters
- highestFirst
- Type: SystemBoolean
Bool indicating if the highest priority should be the first value (true) or the last value (false)
Return Value
Type:
PriorityQueueTKey, TValueNode[Missing <returns> documentation for "M:DHI.Mike1D.Generic.PriorityQueue`2.ToNodeArray(System.Boolean)"]
See Also