SkillAgentSearch skills...

Fiboheap

C++ STL-like Fibonacci heap and queue for fast priority queues with mutable keys.

Install / Use

/learn @beniz/Fiboheap
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

fiboheap

C++ STL-like Fibonacci heap and queue for fast priority queues with mutable keys.

This is a header-only implementation of:

  • Fibonacci Heap: a fast heap with mutable keys; Implementation follows Cormen et al. (2009) "Fibonacci Heaps," in Introduction to Algorithms, 3rd ed. Cambridge: MIT Press, pp. 505-530.
  • Fibonacci Queue: a priority queue based on Fibonacci heap. This is basically a Fibonacci heap with an added fast store for retrieving nodes, and decrease their key as needed. Useful for search algorithms (e.g. Dijkstra, heuristic, ...).

The heap and queues are targeted at projects that are reluctant to rely on Boost for a simple Fibonacci heap or queue.

Compile test exe with

g++ -g -std=c++11 test_fiboheap.cc -o tf
View on GitHub
GitHub Stars68
CategoryDevelopment
Updated16d ago
Forks24

Languages

C++

Security Score

95/100

Audited on Mar 11, 2026

No findings