Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.14 KB

priority_queue.genericpriorityqueuenode-1.md

File metadata and controls

60 lines (36 loc) · 1.14 KB

GenericPriorityQueueNode<TPriority>

Namespace: Priority_Queue

public class GenericPriorityQueueNode<TPriority>

Type Parameters

TPriority

Inheritance ObjectGenericPriorityQueueNode<TPriority>

Properties

Priority

The Priority to insert this node at. Cannot be manually edited - see queue.Enqueue() and queue.UpdatePriority() instead

public TPriority Priority { get; protected internal set; }

Property Value

TPriority

QueueIndex

Represents the current position in the queue

public int QueueIndex { get; internal set; }

Property Value

Int32

InsertionIndex

Represents the order the node was inserted in

public long InsertionIndex { get; internal set; }

Property Value

Int64

Constructors

GenericPriorityQueueNode()

public GenericPriorityQueueNode()