Method Enqueue
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
Enqueue(int, TElement, TPriority)
Inserts a value with an associated index into the priority queue.
public void Enqueue(int index, TElement value, TPriority priority)
Parameters
index
intThe index associated with the value.
value
TElementThe value to insert.
priority
TPriorityThe priority of the value.