public class PebblingNumberRootedBottomUp extends PebblingNumberBottomUp
| Constructor and Description |
|---|
PebblingNumberRootedBottomUp() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
argumentFormat()
Describe how the argument(s) to the algorithm should be formatted, if applicable.
|
java.lang.String |
getResult()
Return the result of the algorithm in the context of the problem.
|
int |
getRoot() |
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 |
setRoot(int root) |
briefProgress, countsOperations, getCurrentProblemData, getPebblingNumber, getProgressReport, getVersion, runAlgorithmgetPebbleState, getProblemType, initializeData, quit, setPebbleStategetNumberOfOperations, getState, isDone, isNotDone, isQuit, setProblemData, setStatepublic int getRoot()
public void setRoot(int root)
public void initializeMoreData()
PebbleAlgorithminitializeMoreData in class PebblingNumberBottomUppublic java.lang.String getResult()
AlgorithmInterfacegetResult in interface AlgorithmInterface<PebbleInstance>getResult in class PebblingNumberBottomUppublic void parseArguments(java.lang.String args)
AlgorithmInterfaceparseArguments in interface AlgorithmInterface<PebbleInstance>parseArguments in class PebblingNumberBottomUppublic java.lang.String argumentFormat()
AlgorithmInterfaceargumentFormat in interface AlgorithmInterface<PebbleInstance>argumentFormat in class PebblingNumberBottomUp