Skip to content

Header-only C++17 Dijkstra's algorithm using a fibonacci heap

License

Notifications You must be signed in to change notification settings

AntoineSebert/DijkstraAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Dijkstra Algorithm

Abstract

The aim of this header-only library is to provide a simple C++17 implementation of Dijkstra's algorithm. It is based on a fibonacci heap to efficiently store the data, and prevent memory leaks with the use of smart pointers. It is also possible to run multiple Dijkstra's algorithm at the same time.

Features

  • create an object represnetation of the algorithm
  • create the nodes & paths representing the graph
  • collect the results

Implementation

Simply add the library to your project using #include "dijkstra.hpp"

Source

https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm

License

GNU General Public License v3.0