An open API service indexing awesome lists of open source software.

https://github.com/bhallstein/misterheapy

A C++ binary heap. Objects are referenced by pointers. O(1) referencing and resorting. For pathfinding algorithms.
https://github.com/bhallstein/misterheapy

Last synced: over 1 year ago
JSON representation

A C++ binary heap. Objects are referenced by pointers. O(1) referencing and resorting. For pathfinding algorithms.

Awesome Lists containing this project

README

          

# About MisterHeapy

A C++ binary heap.

Entries can be “updated” (resorted after update) by index **or by reference** both in constant time on average.

For simplicity and performance, MisterHeapy places the following restrictions on objects:

- They must be memory contiguous.
- The first item pushed to the heap must be the first item in memory.

For further details e.g. fast initialisation, see the notes at the top of MisterHeapy.hpp.

-- Published under the MIT license
-- BH May 2012