raw
current commit
131018.10 · really isn't necessary

Usage

git clone git://github.com/BurntSushi/150fp-practice
cd 150fp-practice
cabal configure
cabal install --only-dependencies
cabal build

You should then be able to get Dot output for a regular heap or a skew heap. In order to visualize it, you should pipe it to the dot program:

./dist/build/heapvis/heapvis skew | dot -Tpdf > skew.pdf
./dist/build/heapvis/heapvis heap | dot -Tpdf > heap.pdf

Alternatively, visualize ntenczar’s colorless Red-Black tree:

./dist/build/heapvis/heapvis rb | dot -Tpdf > rb.pdf

Documentation

Library documentation: http://burntsushi.net/docs/haddock/150fp-practice/index.html

heapvis documentation: http://burntsushi.net/docs/haddock/150fp-practice/heapvis/index.html