public abstract class MultiDesignAlgorithm extends AbstractAlgorithm<MultiDesignsInstance>
Constructor and Description |
---|
MultiDesignAlgorithm() |
Modifier and Type | Method and Description |
---|---|
boolean |
countsOperations() |
java.lang.String |
getCurrentProblemData() |
long |
getNumberOfOperations()
Assuming the subclasses keep track, get the number of operations performed so far, where "operation" is defined
however the algorithm would like.
|
java.lang.Class<MultiDesignsInstance> |
getProblemType() |
java.lang.String |
getProgressReport()
HTML text that will be displayed in the Algorithm Runner that explains what the algorithm is doing.
|
void |
initializeData()
setProblemData is already implemented for you, but you might need to initialize other data related to your
algorithm.
|
void |
quit()
(Hopefully) gracefully stop the computation.
|
getState, isDone, isNotDone, isQuit, setProblemData, setState
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
argumentFormat, getResult, getVersion, parseArguments, runAlgorithm
public void initializeData()
AbstractAlgorithm
initializeData
in class AbstractAlgorithm<MultiDesignsInstance>
public java.lang.String getProgressReport()
AlgorithmInterface
public java.lang.String getCurrentProblemData()
public boolean countsOperations()
public long getNumberOfOperations()
AlgorithmInterface
getNumberOfOperations
in interface AlgorithmInterface<MultiDesignsInstance>
getNumberOfOperations
in class AbstractAlgorithm<MultiDesignsInstance>
public java.lang.Class<MultiDesignsInstance> getProblemType()
public void quit()
AlgorithmInterface