@Deprecated public class Check2PebblingSingleQValue extends PebbleAlgorithm
Constructor and Description |
---|
Check2PebblingSingleQValue()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
argumentFormat()
Deprecated.
Describe how the argument(s) to the algorithm should be formatted, if applicable.
|
boolean |
countsOperations()
Deprecated.
|
java.lang.String |
getCurrentProblemData()
Deprecated.
|
long |
getNumberOfOperations()
Deprecated.
Similar to getResult(), this method returns the number of operations that this algorithm used.
|
java.lang.String |
getProgressReport()
Deprecated.
The printout in the Solvability Dialog box.
|
java.lang.String |
getResult()
Deprecated.
If no results were found, return "No unsolvable configurations found." Otherwise, a list of the configurations
that violate the 2PP.
|
double |
getVersion()
Deprecated.
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()
Deprecated.
Set up the data that the algorithm will need in order to work correctly.
|
AlgorithmStates |
next()
Deprecated.
Checks all the possible configurations of numberOfPebbles on the current subsetOfVertices.
|
void |
parseArguments(java.lang.String args)
Deprecated.
Sends a string that the user can enter to the algorithm.
|
void |
runAlgorithm()
Deprecated.
Run the algorithm.
|
void |
setNumberOfVerticesWithPebbles(int numVertsWithPebs)
Deprecated.
If an outside source is using this algorithm, it can set the numberOfVerticesWithPebbles using this method.
|
void |
setPebblingNumber(int pebNum)
Deprecated.
If the pebbling number is being set by an outside source, it can set it using this method.
|
void |
setPuzzleData(PebbleInstance pi)
Deprecated.
If the puzzle is being set by an outside source it can use this method to copy the puzzle.
|
getPebbleState, getProblemType, initializeData, quit, setPebbleState
getState, isDone, isNotDone, isQuit, setProblemData, setState
public java.lang.String getResult()
getResult
in interface AlgorithmInterface<PebbleInstance>
getResult
in class PebbleAlgorithm
public void initializeMoreData()
initializeMoreData
in class PebbleAlgorithm
public void runAlgorithm()
public AlgorithmStates next()
public java.lang.String getCurrentProblemData()
public boolean countsOperations()
public double getVersion()
AlgorithmInterface
public java.lang.String getProgressReport()
getProgressReport
in interface AlgorithmInterface<PebbleInstance>
getProgressReport
in class PebbleAlgorithm
public void setPuzzleData(PebbleInstance pi)
pi
- The puzzle to copy.public void setPebblingNumber(int pebNum)
pebNum
- The pebbling number for this algorithm to use.public void setNumberOfVerticesWithPebbles(int numVertsWithPebs)
numVertsWithPebs
- The number of vertices with pebbles for this algorithm to check.public long getNumberOfOperations()
getNumberOfOperations
in interface AlgorithmInterface<PebbleInstance>
getNumberOfOperations
in class AbstractAlgorithm<PebbleInstance>
public void parseArguments(java.lang.String args)
AlgorithmInterface
public java.lang.String argumentFormat()
AlgorithmInterface