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.
|
evaluateFitness
adjustRequirements, getRandom, setRandom
getProperties, getPropertyValue, getTypeOfProperty, getXMLData, setProperties, setXMLData
public void replayWithVisualization(AbstractRepresentation candidate)
AbstractSingleProblem
It is recommended to use advanced threading for display like SwingWorker
.
replayWithVisualization
in class AbstractSingleProblem
candidate
- The candidate whose replay has been requested.public double getMaximumFitness()
AbstractSingleProblem
getMaximumFitness
in class AbstractSingleProblem