Class GeneticAlgorithm<T>
java.lang.Object
org.episteme.natural.computing.ai.evolutionary.GeneticAlgorithm<T>
Standard Genetic Algorithm implementation.
Uses Elitism, Tournament Selection, and Uniform Crossover.
*
References:
- Holland, J. H. (1975). Adaptation in Natural and Artificial Systems. University of Michigan Press.
- Goldberg, D. E. (1989). Genetic Algorithms in Search, Optimization, and Machine Learning. Addison-Wesley.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionGeneticAlgorithm(double mutationRate, double crossoverRate, int elitismCount, int tournamentSize) -
Method Summary
Modifier and TypeMethodDescriptionevolve(Population<T> population) Evolve a population to the next generation.
-
Constructor Details
-
GeneticAlgorithm
public GeneticAlgorithm(double mutationRate, double crossoverRate, int elitismCount, int tournamentSize)
-
-
Method Details
-
evolve
Evolve a population to the next generation.- Parameters:
population- current population- Returns:
- next generation population
-