Skip to content

Implementation of BinaryHeap, BinomialHeap and FibonacciHeap.

Notifications You must be signed in to change notification settings

FFloresM/heapsP1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heaps

C++ implementation of

  • BinaryHeap
  • BinomialHeap
  • FibonacciHeap

Ir al directorio Test y ejecutar:

Compiling

g++ -c ../BinaryHeap/binaryHeap.cpp ../BinomialHeap/BinomialHeap.cpp ../FibonacciHeap/FibonacciHeap.cpp ../FibonacciHeap/Nodo.cpp *.cpp -std=c++11

Linking

g++ *.o -o main_t.out

Executing

./main_t.out

para las pruebas de tiempo.

Ir al directorio Testmem y ejecutar:

g++ -c ../BinaryHeap/binaryHeap.cpp ../BinomialHeap/BinomialHeap.cpp ../FibonacciHeap/FibonacciHeap.cpp ../FibonacciHeap/Nodo.cpp *.cpp -std=c++11
g++ *.o -o main_m.out
  • para test de binaryheap:
./main_m.out bina
  • para test de binomialheap:
./main_m.out bino
  • para test de fibonacciheap:
./main_m.out fibo

About

Implementation of BinaryHeap, BinomialHeap and FibonacciHeap.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published