simbad.picoevo.ext.evolution
Class SelectionOperator_SDNEAT
java.lang.Object
simbad.picoevo.core.evolution.Operator
simbad.picoevo.core.evolution.SelectionOperator
simbad.picoevo.ext.evolution.SelectionOperator_SDNEAT
public class SelectionOperator_SDNEAT
- extends SelectionOperator
Field Summary |
(package private) java.util.Random |
rand
|
Fields inherited from class simbad.picoevo.core.evolution.Operator |
_name |
Methods inherited from class simbad.picoevo.core.evolution.Operator |
getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rand
java.util.Random rand
SelectionOperator_SDNEAT
public SelectionOperator_SDNEAT()
SelectionOperator_SDNEAT
public SelectionOperator_SDNEAT(java.lang.String __name)
performSelection
public void performSelection(PopulationObject populationList)
- Description copied from class:
SelectionOperator
- perform a selection and renew the Population.
Should be implemented in inherited classes.
- Overrides:
performSelection
in class SelectionOperator
randInt
private int randInt(int x,
int y)
tournamentSelection
private Individual_NEATIndividual tournamentSelection(Population_NEATPopulation population,
int numComparisons)
sortAndRecord
private Population_NEATPopulation sortAndRecord(Population_NEATPopulation pop)
resetAndKill
private Population_NEATPopulation resetAndKill(Population_NEATPopulation pop)