doc(test): mention optimality
This commit is contained in:
parent
e4c6f656f9
commit
017d65f57c
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ public abstract class ShortestPathAlgorithmTest {
|
|||
|
||||
/*
|
||||
* 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) {
|
||||
final ShortestPathData data = new ShortestPathData(graph, origin, destination, arcFilter);
|
||||
|
|
Loading…
Reference in a new issue