doc(test): mention optimality

This commit is contained in:
Paul Alnet 2024-05-21 17:25:56 +02:00
parent e4c6f656f9
commit 017d65f57c

View file

@ -78,6 +78,7 @@ public abstract class ShortestPathAlgorithmTest {
/* /*
* Verifies that path is valid and matches the one found by the Bellman algo * Verifies that path is valid and matches the one found by the Bellman algo
* Otherwise the algo in not optimal.
*/ */
private void assertBellmanHasSameResult(Graph graph, Node origin, Node destination, ArcInspector arcFilter) { private void assertBellmanHasSameResult(Graph graph, Node origin, Node destination, ArcInspector arcFilter) {
final ShortestPathData data = new ShortestPathData(graph, origin, destination, arcFilter); final ShortestPathData data = new ShortestPathData(graph, origin, destination, arcFilter);