Introduction - If you have any usage issues, please Google them yourself
Single source shortest path Bellman-ford. The algorithm can be used to solve the general (the right side is negative) single-source shortest path problem, and dijkstra can only solve the case of non-negative weights. This algorithm uses relaxation techniques, for each vertex, to gradually reduce the source to the vertex of the estimated value until the shortest path.