public class PebblingNumberForkJoin extends PebbleAlgorithm
Constructor and Description |
---|
PebblingNumberForkJoin() |
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() |
int |
getPebblingNumber() |
java.lang.String |
getProgressReport()
The Default implementation for a pebble algorithm.
|
java.lang.String |
getResult()
Return the result of the algorithm in the context of the problem.
|
int |
getRoot() |
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.
|
void |
setLogging(boolean state) |
void |
setRoot(int root) |
getPebbleState, getProblemType, initializeData, quit, setPebbleState
getNumberOfOperations, getState, isDone, isNotDone, isQuit, setProblemData, setState
public int getRoot()
public void setRoot(int root)
public void setLogging(boolean state)
public void initializeMoreData()
PebbleAlgorithm
initializeMoreData
in class PebbleAlgorithm
public void runAlgorithm()
AlgorithmInterface
public java.lang.String getResult()
AlgorithmInterface
getResult
in interface AlgorithmInterface<PebbleInstance>
getResult
in class PebbleAlgorithm
public java.lang.String getCurrentProblemData()
public boolean countsOperations()
public double getVersion()
AlgorithmInterface
public java.lang.String getProgressReport()
PebbleAlgorithm
getProgressReport
in interface AlgorithmInterface<PebbleInstance>
getProgressReport
in class PebbleAlgorithm
public int getPebblingNumber()
public void parseArguments(java.lang.String args)
AlgorithmInterface
public java.lang.String argumentFormat()
AlgorithmInterface