public class IsSolvableBest extends PebbleAlgorithm
| Constructor and Description |
|---|
IsSolvableBest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
argumentFormat()
Describe how the argument(s) to the algorithm should be formatted, if applicable.
|
boolean |
countsOperations() |
java.lang.String |
getCurrentProblemData() |
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.
|
void |
initializeMoreData()
Called by initializeData which is called by setPuzzleData.
|
void |
parseArguments(java.lang.String args)
Sends a string that the user can enter to the algorithm.
|
void |
runAlgorithm()
Runs the Algorithm.
|
getPebbleState, getProblemType, getProgressReport, getResult, initializeData, quit, setPebbleStategetNumberOfOperations, getState, isDone, isNotDone, isQuit, setProblemData, setStatepublic void runAlgorithm()
AlgorithmInterfacepublic java.lang.String getCurrentProblemData()
public boolean countsOperations()
public double getVersion()
AlgorithmInterfacepublic void parseArguments(java.lang.String args)
throws java.lang.RuntimeException
AlgorithmInterfacejava.lang.RuntimeExceptionpublic java.lang.String argumentFormat()
AlgorithmInterfacepublic void initializeMoreData()
PebbleAlgorithminitializeMoreData in class PebbleAlgorithm