mirror of
https://gitlab.com/somespace/dijkstra-shortest-path-algorithm.git
synced 2025-01-31 11:31:40 +01:00
This program implements Dijsktra's SP algorithm, which finds the shortest path between source and destination node. The algorithm considers also color of the nodes as choosing criteria.
CMakeLists.txt | ||
CMakeLists.txt.user | ||
graph.cpp | ||
graph.h | ||
main.cpp | ||
README.md | ||
shortest_path.cpp | ||
shortest_path.h |
Dijkstra Shortest Path algorithm (own implementation):
Reference: https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
Ways to open the project:
- Open the file named CMakeLists.txt in QT Creator IDE.
- Unzip archive and navigate to the project folder in terminal, then run this command: cmake CMakeLists.txt && make