BlueRaja / High-Speed-Priority-Queue-for-C-Sharp

A C# priority queue optimized for pathfinding applications
MIT License
1.15k stars 169 forks source link

FastPriorityQueueNode shouldn't be a class #38

Closed hpkruger closed 6 years ago

hpkruger commented 6 years ago

Hi, is there any specific reason why FastPriorityQueueNode.cs is a class and not an interface? Should be something like IFastPriorityQueueable

BlueRaja commented 6 years ago

See https://github.com/BlueRaja/High-Speed-Priority-Queue-for-C-Sharp/wiki/Why-do-I-have-to-extend-FastPriorityQueueNode-to-enqueue-something-to-FastPriorityQueue%3F