DHI.Mike1D
DHI.Mike1D
Namespaces
DHI.Mike1D.Generic
PriorityQueue(TKey, TValue) Class
PriorityQueue(TKey, TValue) Methods
Clear Method
Clone Method
Dequeue Method
Enqueue Method
FindFirstNodeAfter Method
ToArray Method
ToNodeArray Method
PriorityQueue
TKey
,
TValue
Enqueue Method
Add a new element to the queue, with the given priority
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
Copy
public
PriorityQueue
TKey, TValue
Node
Enqueue
( TKey
key
, TValue
value
)
Parameters
key
Type:
TKey
value
Type:
TValue
Return Value
Type:
PriorityQueue
TKey, TValue
Node
A
PriorityQueue
TKey, TValue
Node
. This can be used for updating the key.
See Also
Reference
PriorityQueue
TKey, TValue
Class
DHI.Mike1D.Generic Namespace