Binary heap implementation in Lua
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
examples
spec
src
.busted
.gitignore
.luacov
README.md
binaryheap-0.3-1.rockspec
config.ld

README.md

binaryheap.lua

Binary heap implementation

Both the source code as well as the documentation are on github

Based on original code by Oliver Kroth, with extras as proposed by Sean Conner.

Contributions

This library was create by contributions from Oliver Kroth, Thijs Schreijer, Boris Nagaev

History

Version 0.3, 15-Jul-2018

  • bugfix unique:pop returning wrong order results (by Daurnimator)
  • change unique:peek returning same order as pop
  • added unique:peekValue returning just the value

Version 0.2, 21-Apr-2015

  • bugfix remove function (by Boris Nagaev)
  • configurable comparison function for the tree

Version 0.1, 20-Apr-2015

  • Initial release

Copyright

Copyright 2015-2018 Thijs Schreijer

License

MIT/X11