Click or drag to resize

PriorityQueueT Class

An implementation of the Priority Queue data structure.
Inheritance Hierarchy
SystemObject
  Kit.AlgorithmsPriorityQueueT

Namespace:  Kit.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class PriorityQueue<T>
Request Example View Source

Type Parameters

T
Type of the elements to queue.

The PriorityQueueT type exposes the following members.

Constructors
  NameDescription
Public methodPriorityQueueT
Initializes a new instance of the PriorityQueueT class
Top
Properties
  NameDescription
Public propertyIsEmpty
Returns whether the queue contains any elements.
Top
Methods
  NameDescription
Public methodDequeue
Remove the last element.
Public methodEnqueue
Add an element with the given priority.
Top
See Also