Implementation of Dijkstra's SP algorithm.
- K-d tree - finds nearest vertex in a graph for start point and end point.
- Dijkstra's algorithm - finds shortest path in graph.
- Priority indexed queue - used in egde relaxation.
- Directed graph with weighted edges.
One of the goals of the project was to use the standard library in as many cases as possible. Visual side of this application is coded with SFML.
| Action | Button |
|---|---|
| Set start point | LMB |
| Set end point | RMB |
| Quit | Esc |
| Reset | R |
In order to find path user needs to:
- Set start point.
- Set end point.
- If user wants to find another path Reset action is required.
Literature and sites I used while coding this application:
- Algorithms, 4th edition by Robert Sedgewick and Kevin Wayne
- C++ documentation
