A minheap library in Erlang (August 10, 2010)
I've recently released a library in Erlang that implements a priority queue using a minheap. It's a small library, but worth mentioning because I wasn't able to find such a thing last time I Googled around for one. I developed this for some tinkering with a variation on A* search that I will write about soon you can now read about here.
This is also the first library that I have written using EUnit, a testing framework for Erlang. My first cut at this library was plagued by odd and obscure bugs, so I threw it out and rewrote it from scratch using EUnit for TDD, which it turned out to be well suited for.
The library is available here on GitHub. Since it's my understanding that Erlangers (Erlangists? Erlangueons?) prefer to use Mercurial, I'll also make a Mercurial repo available later this week, once I've had time to learn how to use it it's also available via Mercurial on bitbucket.org.
Advice (especially about how to better use EUnit), criticism, and offers of excellent things are as welcome as always.
blog comments powered by DisqusAll content of this site copyright © 2009-2010 Phil Darnowsky. Released under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported license. Some links in this blog may be affiliate links, which pay a small sales comission.