Keep Track of the Best N Nodes in a Graph Traversal Algorithm
bearophile via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Mar 25 15:31:58 PDT 2015
Nordlöw:
> Ahh, a Binary Heap perfectly matches my needs.
>
> https://en.wikipedia.org/wiki/Binary_heap
> http://dlang.org/phobos/std_container_binaryheap.html
But isn't topNCopy using a heap?
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list