Azer0s / Azer0s/tinygraph

Implement Bellman Ford’s Algorithm

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement Hacktoberfest help wanted
Dominant language
C++
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

> Bellman Ford’s algorithm is a shortest path finding algorithm for graphs that can have negative weights. Bellman ford’s algorithm is also great for detecting negative weight cycles as the algorithm converges to an optimal solution in O(V*E) steps. If the resultant is not optimal, then graph contains a negative weight cycle.

![](https://www-m9.ma.tum.de/graph-algorithms/spp-bellman-ford/img/beispiel2.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.