Skip to content

mmooyyii/fibheap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fibheap

Fibonacci heap for erlang

O(1)      insert
O(1)      get_min
O(log(N)) pop

EXAMPLE:

F1 = fibheap:new(),
F2 = fibheap:insert(F1, {1, 1}),
F3 = fibheap:insert(F2, {2, 2}),
{{1, 1}, F6} = fibheap:pop(F3),
{{2, 2}, F7} = fibheap:pop(F6).

About

Fibonacci heap for erlang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages