Overview of Shortest Path Algorithm Categories
Shortest path algorithms are used to find the minimum distance between vertices in a graph. They are generally categorized into two types:
- Single Source Shortest Path: Calculates the distance from one specific starting vertex to all other vertices in the graph.
- Multiple Source Shortest Path: Calculates the shortest paths between all pairs of vertices in the graph.