|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orbital.algorithm.evolutionary.GeneticAlgorithm orbital.algorithm.evolutionary.SimpleGeneticAlgorithm
public class SimpleGeneticAlgorithm
A simple genetic algorithm with non-overlapping populations. At each generation, it creates an entirely new population per reproduction.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class orbital.algorithm.evolutionary.GeneticAlgorithm |
---|
GeneticAlgorithm.Configuration |
Constructor Summary | |
---|---|
SimpleGeneticAlgorithm()
Construct a new GeneticAlgorithm. |
Method Summary | |
---|---|
void |
evolve()
evolves to the next generation for this population. |
double |
getPopulationGrowth()
Get the population growth factor. |
Methods inherited from class orbital.algorithm.evolutionary.GeneticAlgorithm |
---|
clone, complexity, equals, getEvaluation, getPopulation, getRandom, getSelection, hashCode, isCorrect, setEvaluation, setPopulation, setRandom, setSelection, solve, spaceComplexity, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleGeneticAlgorithm()
Method Detail |
---|
public double getPopulationGrowth()
GeneticAlgorithm
getPopulationGrowth
in class GeneticAlgorithm
public void evolve()
GeneticAlgorithm
evolve
in class GeneticAlgorithm
GeneticAlgorithm.selection
,
Genome.recombine(Gene[],int,double)
,
PopulationImpl.getMaximumRecombination()
,
PopulationImpl.getMaximumMutation()
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |