Skip to content

A Java implementation of the Fibonacci Heap data structure

License

Notifications You must be signed in to change notification settings

ed-o-saurus/FibonacciHeap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fibonacci Heap

This is a Java implementation of the Fibonacci Heap data structure.

More information about Fibonacci Heaps can be found at https://en.wikipedia.org/wiki/Fibonacci_heap.

They are a fascinating (if not terribly practical) data structure.

This implementation allows the user to create a heap to store a type that implements the Comparable interface.

  • Values can be inserted in $\mathcal{O} \left( 1 \right)$ time.

  • The minimum value can be read in $\mathcal{O} \left( 1 \right)$ time.

  • The minimum value can be extracted in $\mathcal{O} \left( \log n \right)$ amortized time.

  • An existing key can have its value decreased in $\mathcal{O} \left( 1 \right)$ amortized time.

About

A Java implementation of the Fibonacci Heap data structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages