Linked Questions
11 questions linked to/from Has anyone actually implemented a Fibonacci-Heap efficiently?
45 votes
14 answers
12k views
Advanced data structures in practice [closed]
In the 10 years I've been programming, I can count the number of data structures I've used on one hand: arrays, linked lists (I'm lumping stacks and queues in with this), and dictionaries. This isn't ...
38 votes
4 answers
23k views
Real world applications of Binary heaps and Fibonacci Heaps [closed]
What are the real world applications of Fibonacci heaps and binary heaps? It'd be great if you could share some instance when you used it to solve a problem. Edit: Added binary heaps also. Curious to ...
32 votes
2 answers
9k views
Are Fibonacci heaps or Brodal queues used in practice anywhere?
Are Fibonacci heaps used in practice anywhere? I've looked around on SO and found answers to related questions (see below) but nothing that actually quite answers the question. There are good ...
12 votes
5 answers
6k views
When to use Binomial Heap?
Binomial Heap has quite special design. Personally I don't think this design is intuitive. Although posts such as What is the difference between binary heaps and binomial heaps? talks about diff and ...
7 votes
5 answers
2k views
C++ priority dictionary
I need a container to store pairs, I have two operations: update value by key get the key with maximum value. For the first operation, map is a good structure. For the second operation, seems ...
5 votes
2 answers
3k views
Is Dijkstra faster when using Fibonacci Heap?
Is Dijkstra faster when using Fibonacci heap than with the Binary heap? I did some experiments implementing Fibonacci heap on my own and using it in Dijkstra, I also checked the ready-to-use Fibonacci ...
5 votes
2 answers
1k views
Dijkstra on Java: Getting Interesting Results Using a Fibonacci Heap vs. PriorityQueue
I recently made an initial comparison of the running time of Dijkstra's algorithm using two data structures, the Java-based PriorityQueue (based on a binary heap, if I'm not mistaken), and a Fibonacci ...
1 vote
2 answers
2k views
How to improve Boost Fibonacci Heap performance
I am implementing the Fast Marching algorithm, which is some kind of continuous Dijkstra. As I read in many papers, the Fibonacci heap is the most adequate heap for this purpose. However, when ...
1 vote
1 answer
489 views
Pushing in min heap with std::priority_queue is the bottleneck
Something faster than std::priority_queue as a min heap? The original question is here. You can resolve the names generated by grpof with the demangler. With the help of the users there, I came to a ...
0 votes
1 answer
484 views
Directed graph with non negative weights (adjacency matrix)
First off, I apologize for my bad paint drawing of the graph. The weights are obviously not scaled. I am having a hard time coming up with the algorithms to solve a few problems. First, I want to ...
3 votes
0 answers
453 views
Purely functional amortized constant time `decrease-key` for priority queues in Dijkstra?
Dijkstra's shortest paths algorithm is O(E log V) when we re-insert nodes into the priority queue. However, if we use constant-time decrease_key, and Fibonacci heap is advertised for this, then the ...