|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.artoflife.gp.reproduction.CrossoverReproducer
Select two parents then allow them to crossover
to produce a child, then mutate the child using a
probability set in config property
[this.getClass().getName()].MutationProbability
.
Field Summary | |
protected float |
probability
|
Constructor Summary | |
CrossoverReproducer()
|
Method Summary | |
Individual |
reproduce(Selector parentPopulation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected float probability
Constructor Detail |
public CrossoverReproducer()
Method Detail |
public Individual reproduce(Selector parentPopulation) throws IncompatibleGenotypeException
reproduce
in interface Reproducer
IncompatibleGenotypeException
- when reproduction between
Individuals with incompatible genotypes is attempted
|
artoflife pre0.1.0-dev | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |