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
fitness
,combine
andmutate
methods. - With an array of last defined class instances (initial population), create a GeneticAlgorithm object.
- Call GeneticAlgorithm's
evolve
method as many times as you want.
More info:
- gga4r website: http://gga4r.rubyforge.org
- gga4r rubyforge project: http://rubyforge.org/projects/gga4r
- gga4r spanish site: http://gga4r.rubyforge.org/es
No comments:
Post a Comment