Crystal AI  1.0.0
Crystal.PriorityQueueNode< TPriority > Class Template Reference

Priority queue node. More...

Properties

TPriority Priority [get, set]
 The Priority to insert this node at. Must be set BEFORE adding a node to the queue (ideally just once, in the node's constructor). Should not be manually edited once the node has been enqueued - use queue.UpdatePriority() instead More...
 
int QueueIndex [get, set]
 Represents the current position in the queue More...
 
long InsertionIndex [get, set]
 Represents the order the node was inserted in More...
 

Detailed Description

Priority queue node.

Property Documentation

long Crystal.PriorityQueueNode< TPriority >.InsertionIndex
getset

Represents the order the node was inserted in

TPriority Crystal.PriorityQueueNode< TPriority >.Priority
getset

The Priority to insert this node at. Must be set BEFORE adding a node to the queue (ideally just once, in the node's constructor). Should not be manually edited once the node has been enqueued - use queue.UpdatePriority() instead

int Crystal.PriorityQueueNode< TPriority >.QueueIndex
getset

Represents the current position in the queue


The documentation for this class was generated from the following file: