|
Orbital library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorbital.algorithm.evolutionary.GeneticAlgorithm
orbital.algorithm.evolutionary.IncrementalGeneticAlgorithm
public class IncrementalGeneticAlgorithm
An incremental genetic algorithm with overlapping populations and only one reproduction per generation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class orbital.algorithm.evolutionary.GeneticAlgorithm |
|---|
GeneticAlgorithm.Configuration |
| Constructor Summary | |
|---|---|
IncrementalGeneticAlgorithm()
Construct a new GeneticAlgorithm. |
|
| Method Summary | |
|---|---|
void |
evolve()
evolves to the next generation for this population. |
double |
getPopulationGrowth()
Get the population growth factor. |
protected void |
replaceGenomes(Genome[] n)
Replaces a list of Genomes by removing one and merging the new ones. |
| 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 IncrementalGeneticAlgorithm()
| Method Detail |
|---|
public double getPopulationGrowth()
GeneticAlgorithm
getPopulationGrowth in class GeneticAlgorithmpublic void evolve()
GeneticAlgorithm
evolve in class GeneticAlgorithmGeneticAlgorithm.selection,
Genome.recombine(Gene[],int,double),
PopulationImpl.getMaximumRecombination(),
PopulationImpl.getMaximumMutation()protected void replaceGenomes(Genome[] n)
Will remove the required number of Genomes first and then insert which makes sure that no Genome is removed immediately after insertion.
selectRemove(),
Population.add(Object)
|
Orbital library 1.2.0: 23 Apr 2008 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||