Class PriorityQueueNode
Priority Queue Node class.
Inherited Members
Namespace: Evergine.Common.Helpers
Assembly: Evergine.Common.dll
Syntax
public class PriorityQueueNode
Properties
InsertionIndex
Gets or sets the order the node was inserted in. Used by the priority queue - do not edit this value.
Declaration
public long InsertionIndex { get; set; }
Property Value
Type | Description |
---|---|
long | The index of the insertion. |
Priority
Gets or sets the Priority to insert this node at. Must be set BEFORE adding a node to the queue.
Declaration
public double Priority { get; set; }
Property Value
Type | Description |
---|---|
double | The priority. |
QueueIndex
Gets or sets the current position in the queue. Used by the priority queue - do not edit this value.
Declaration
public int QueueIndex { get; set; }
Property Value
Type | Description |
---|---|
int | The index of the queue. |