General Genetic Algorithms for Ruby (gga4r) is a library for executing generic algorithms easily.
Only 3 steps are needed in order to work with gga4r:
- Choose a clase to evolve and define for her the
- With an array of last defined class instances (initial population), create a GeneticAlgorithm object.
- Call GeneticAlgorithm's
evolvemethod as many times as you want.