1234567891011121314151617181920 |
- package org.insa.graphs.algorithm.utils;
-
- import org.insa.graphs.algorithm.shortestpath.AStarAlgorithm;
- import org.insa.graphs.algorithm.shortestpath.BellmanFordAlgorithm;
- import org.insa.graphs.algorithm.shortestpath.ShortestPathAlgorithm;
- import org.insa.graphs.algorithm.shortestpath.ShortestPathData;
-
- public class AstarAlgorithmTests extends ShortestPathTests{
-
- @Override
- protected ShortestPathAlgorithm getOracleAlgo(ShortestPathData data) {
- return new BellmanFordAlgorithm(data);
- }
-
- @Override
- protected ShortestPathAlgorithm getTesterAlgo(ShortestPathData data) {
- return new AStarAlgorithm(data);
- }
-
- }
|