Graph Theory37 sections · 1633 units
Open in CourseQuiz: Relaxation and Iterations
Knowledge check
Check Your Understanding
You have a graph with nodes. After running Bellman-Ford, you find that a distance value changes on the th iteration. What does this tell you?
- A.The shortest path has exactly edges
- B.A negative-weight cycle is reachable from the source
- C.The algorithm needs one more iteration to converge
- D.The graph has exactly edges