public class InvertedPendulum extends AbstractSingleProblem
| Constructor and Description |
|---|
InvertedPendulum() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Hashtable<java.lang.String,XMLFieldEntry> |
adjustRequirements(java.util.Hashtable<java.lang.String,XMLFieldEntry> requirements,
java.util.Hashtable<java.lang.String,XMLFieldEntry> properties)
Adjusts and returns the requirements of this problem that is modified according to the properties.
|
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.
|
evaluateFitnessgetRandom, setRandomgetProperties, getPropertyValue, getTypeOfProperty, getXMLData, setProperties, setXMLDatapublic java.util.Hashtable<java.lang.String,XMLFieldEntry> adjustRequirements(java.util.Hashtable<java.lang.String,XMLFieldEntry> requirements, java.util.Hashtable<java.lang.String,XMLFieldEntry> properties)
AbstractProblemadjustRequirements in class AbstractProblemrequirements - The set of requirement keys and values read from the source XML file.properties - The set of property keys and values.public 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