Skip to main content

GenericPriorityQueueNode<TPriority>

A class in Alta.Timing.Runtime, Alta.Timing.PriorityQueue.

Base class for items in a GenericPriorityQueue, with any comparable priority type.

Constructors​

MemberWhat it is
GenericPriorityQueueNode()Creates a GenericPriorityQueueNode with default values.

Properties​

MemberWhat it is
long InsertionIndex { get; internal set; }Order in which the node was queued, used to break ties so equal priorities come out first in, first out.
TPriority Priority { get; protected internal set; }The priority the node was queued with.
int QueueIndex { get; internal set; }The node's slot in the queue's heap array.