S
samuelmarks
Can the O(1) Ladder Priority queue (http://dl.acm.org/citation.cfm?id=1103324) be applied generally; e.g. wherever a std:
riority_queue is used?
Can the O(1) Ladder Priority queue (http://dl.acm.org/citation.cfm?id=1103324) be applied generally; e.g. wherever a std:riority_queue is used?
Michael DOUBEZ said:The only point that could be made is that the standard library could
provide a tree-based priority queue (with a min-heap by example).
I thought std:riority_queue already uses a "tree-based" algorithm.
In other words, it organizes the elements as a heap in the vector
(or whatever container is specified).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.