summaryrefslogtreecommitdiffstats
path: root/devel/fib/pkg-descr
blob: 9abb7d31f371e6734bc109b61e44dd755eb47a6c (plain)
1
2
3
4
5
6
7
This is an implementation of a Fibonacci Heap. A Fibonacci Heap is
a very efficient heap. The cost of an insert is O(1), and the amortized
cost of an extract minimum is O(lgn). You can extract an already inserted
item out of order in O(lgn). The way the fibonacci heap obtains this is
by delaying the organizing of the items until you extract.

WWW: http://resnet.uoregon.edu/~gurney_j/jmpc/fib.html
OpenPOWER on IntegriCloud