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, setStateequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitargumentFormat, getResult, getVersion, parseArguments, runAlgorithmpublic void initializeData()
AbstractAlgorithminitializeData in class AbstractAlgorithm<MultiDesignsInstance>public java.lang.String getProgressReport()
AlgorithmInterfacepublic java.lang.String getCurrentProblemData()
public boolean countsOperations()
public long getNumberOfOperations()
AlgorithmInterfacegetNumberOfOperations in interface AlgorithmInterface<MultiDesignsInstance>getNumberOfOperations in class AbstractAlgorithm<MultiDesignsInstance>public java.lang.Class<MultiDesignsInstance> getProblemType()
public void quit()
AlgorithmInterface