-
Notifications
You must be signed in to change notification settings - Fork 169
Getting Started
BlueRaja edited this page Jan 29, 2016
·
17 revisions
- Right-click your project in Visual Studio and choose "Manage NuGet Packages".
- Under 'Browse', search for
OptimizedPriorityQueue
, then click 'Install'. - Remember to add
using Priority_Queue;
to the top of any classes you want to use it from.
- Clone the repo using git.
-
Add
Priority Queue/Priority Queue.csproj
to your solution. -
Reference the
Priority Queue
project from any projects you want to use it from. - Remember to add
using Priority_Queue;
to the top of any classes you want to use it from.
This project comes with two IPriorityQueue
implementations:
-
SimplePriorityQueue
is thread-safe, contains safety checks, and is easy-to-use. -
FastPriorityQueue
is less convenient and safe, but has been optimized to be as absolutely fast as possible.
Click the above links to learn how to use each one.