Shortest-Path Algorithm is an algorithm that calculate the shortest path of one vertex to all other vertices in a #202204112118. The path could be unweighted or weighted. It is similar to level-order traversal. Sometimes, it is wise to 202204151111# in order to store path information for later usage.
There are several algorithms to handle different cases:
- 202204151055# for unweighted graph
- 202204151059# for weighted graph when there are no negative weight
- 202204151151# for weighted graph where there could be negative weight
- 202204200949# for known acyclic graph