public class ShortestPathAlgorithm extends BreadthFirstSearchSkeletonAlgorithm
Constructor and Description |
---|
ShortestPathAlgorithm() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<PuzzleInstance> |
getProblemType() |
java.lang.String |
getProgressReport()
HTML text that will be displayed in the Algorithm Runner that explains what the algorithm is doing.
|
java.lang.String |
getResult()
Return the result of the algorithm in the context of the problem.
|
double |
getVersion()
Mostly for use in comparing results from previous versions of algorithms, and/or so we can know whether or not
data in the database is based on an older version of the algorithm.
|
argumentFormat, countsOperations, getCurrentProblemData, getDistance, getParent, getSource, initializeData, parseArguments, quit, runAlgorithm
getNumberOfOperations, getState, isDone, isNotDone, isQuit, setProblemData, setState
public java.lang.Class<PuzzleInstance> getProblemType()
getProblemType
in interface AlgorithmInterface<PuzzleInstance>
getProblemType
in class BreadthFirstSearchSkeletonAlgorithm
public java.lang.String getProgressReport()
AlgorithmInterface
public java.lang.String getResult()
AlgorithmInterface
public double getVersion()
AlgorithmInterface