Britbot
Public Member Functions | Properties
Britbot.PriorityQueue.IPriorityQueue< T > Interface Template Reference

The IPriorityQueue interface. This is mainly here for purists, and in case I decide to add more implementations later. For speed purposes, it is actually recommended that you *don't* access the priority queue through this interface, since the JIT can (theoretically?) optimize method calls from concrete-types slightly better. More...

+ Inheritance diagram for Britbot.PriorityQueue.IPriorityQueue< T >:

List of all members.

Public Member Functions

void Remove (T node)
void UpdatePriority (T node, double priority)
void Enqueue (T node, double priority)
Dequeue ()
void Clear ()
bool Contains (T node)

Properties

First [get]
int Count [get]
int MaxSize [get]

Detailed Description

template<T>
interface Britbot::PriorityQueue::IPriorityQueue< T >

The IPriorityQueue interface. This is mainly here for purists, and in case I decide to add more implementations later. For speed purposes, it is actually recommended that you *don't* access the priority queue through this interface, since the JIT can (theoretically?) optimize method calls from concrete-types slightly better.

Type Constraints
T :PriorityQueueNode 

Definition at line 16 of file IPriorityQueue.cs.


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