Kit Documentation
Kit Documentation
Kit Reference
Kit.Algorithms
PriorityQueue(T) Class
PriorityQueue(T) Constructor
PriorityQueue(T) Properties
PriorityQueue(T) Methods
PriorityQueue
T
Class
An implementation of the
Priority Queue
data structure.
Inheritance Hierarchy
System
Object
Kit.Algorithms
PriorityQueue
T
Namespace:
Kit.Algorithms
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
class
PriorityQueue
<T>
Request Example
View Source
Type Parameters
T
Type of the elements to queue.
The
PriorityQueue
T
type exposes the following members.
Constructors
Name
Description
PriorityQueue
T
Initializes a new instance of the
PriorityQueue
T
class
Top
Properties
Name
Description
IsEmpty
Returns whether the queue contains any elements.
Top
Methods
Name
Description
Dequeue
Remove the last element.
Enqueue
Add an element with the given priority.
Top
See Also
Reference
Kit.Algorithms Namespace
Send comments on this topic to
agam@frag-games.com