|
PriorityQueueTEnqueue Method
|
Enqueue a node to the priority queue. Lower values are placed in front.
Ties are broken by first-in-first-out. This is an O(log n) operation.
Namespace:
Accord.Collections
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public PriorityQueueNode<T> Enqueue(
T value,
double priority
)
Public Function Enqueue (
value As T,
priority As Double
) As PriorityQueueNode(Of T)
Request Example
View SourceParameters
- value
- Type: T
- priority
- Type: SystemDouble
Return Value
Type:
PriorityQueueNodeTSee Also