public class XOR extends AbstractSingleProblem
| Constructor and Description |
|---|
XOR() |
| Modifier and Type | Method and Description |
|---|---|
double |
getMaximumFitness()
Returns the achievable maximum fitness of this problem.
|
void |
replayWithVisualization(AbstractRepresentation candidate)
This function is called when the user request a visual replay from the problem.
|
evaluateFitnessadjustRequirements, getRandom, setRandomgetProperties, getPropertyValue, getTypeOfProperty, getXMLData, setProperties, setXMLDatapublic void replayWithVisualization(AbstractRepresentation candidate)
AbstractSingleProblem
It is recommended to use advanced threading for display like SwingWorker.
replayWithVisualization in class AbstractSingleProblemcandidate - The candidate whose replay has been requested.public double getMaximumFitness()
AbstractSingleProblemgetMaximumFitness in class AbstractSingleProblem