public abstract class TreeFitnessAbstract extends java.lang.Object implements FitnessEvaluator<NAryTree>
Modifier and Type | Class and Description |
---|---|
static class |
TreeFitnessAbstract.TreeFitnessGUISettingsAbstract<F extends TreeFitnessAbstract>
An abstract instance of a GUI interface to set up a
TreeFitness
metric. |
static class |
TreeFitnessAbstract.TreeFitnessGUISettingsEmpty<F extends TreeFitnessAbstract>
The 'empty' GUI that is automatically used for fitness metrics that
provide no provide GUI.
|
Modifier and Type | Field and Description |
---|---|
static TreeFitnessInfo |
info
Each individual fitness metric should define a STATIC public info field
|
Constructor and Description |
---|
TreeFitnessAbstract() |
Modifier and Type | Method and Description |
---|---|
static TreeFitnessAbstract |
deepClone(TreeFitnessAbstract original) |
static TreeFitnessAbstract |
deepClone(TreeFitnessAbstract original,
java.util.HashMap<java.lang.Class<TreeFitnessAbstract>,TreeFitnessAbstract> clonedMap)
This method deeply clones the provided TreeFitnessAbstract.
|
static TreeFitnessAbstract.TreeFitnessGUISettingsAbstract<? extends TreeFitnessAbstract> |
getGUISettingsPanel(ETMParamAbstract param)
Returns a GUI settings instance for this fitness metric.
|
abstract TreeFitnessInfo |
getInfo()
Returns the STATIC info for the metric instance
|
static TreeFitnessAbstract |
instantiateTreeFitness(CentralRegistry registry,
java.lang.Class<TreeFitnessAbstract> desiredClass) |
boolean |
isNatural()
Wrapper around the
TreeFitnessInfo.isNatural() for compliance
with Watchmaker's FitnessEvaluator interface |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFitness
public static TreeFitnessInfo info
public boolean isNatural()
TreeFitnessInfo.isNatural()
for compliance
with Watchmaker's FitnessEvaluator
interfaceisNatural
in interface FitnessEvaluator<NAryTree>
public abstract TreeFitnessInfo getInfo()
public static TreeFitnessAbstract deepClone(TreeFitnessAbstract original)
public static TreeFitnessAbstract deepClone(TreeFitnessAbstract original, java.util.HashMap<java.lang.Class<TreeFitnessAbstract>,TreeFitnessAbstract> clonedMap)
OverallFitness
copy constructor.original
- clonedMap
- public static TreeFitnessAbstract instantiateTreeFitness(CentralRegistry registry, java.lang.Class<TreeFitnessAbstract> desiredClass)
public static TreeFitnessAbstract.TreeFitnessGUISettingsAbstract<? extends TreeFitnessAbstract> getGUISettingsPanel(ETMParamAbstract param)
param
-