|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ec.Breeder ec.simple.SimpleBreeder ec.cgp.Breeder
public class Breeder
The CGP implementation requires this slightly modified SimpleBreeder. Its sole purpose is to reset string representations of the expressions represented by all genomes in the population. Resetting forces re-computation of each expression during evaluation of CGP nodes, but only for the first such evaluation.
Field Summary |
---|
Fields inherited from class ec.simple.SimpleBreeder |
---|
elite, P_ELITE |
Constructor Summary | |
---|---|
Breeder()
|
Method Summary | |
---|---|
ec.Population |
breedPopulation(ec.EvolutionState state)
Reset the expressions that were computed and stored in the previous generation. |
Methods inherited from class ec.simple.SimpleBreeder |
---|
breedPopChunk, computeSubpopulationLength, loadElites, setup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Breeder()
Method Detail |
---|
public ec.Population breedPopulation(ec.EvolutionState state)
breedPopulation
in class ec.simple.SimpleBreeder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |