namespace Svelto.DataStructures
{
public class PriorityQueueNode
{
///
/// The Priority to insert this node at. Must be set BEFORE adding a node to the queue
///
public double Priority { get;
set;
}
///
/// Used by the priority queue - do not edit this value.
/// Represents the order the node was inserted in
///
public long InsertionIndex { get; set; }
///
/// Used by the priority queue - do not edit this value.
/// Represents the current position in the queue
///
public int QueueIndex { get; set; }
}
}