Genetic Algorithms for Ruby (gga4r) is a library for implementing genetic algorithms easily.
In 3 steps, you can work with gga4r:
- Choose class to evolve and define fitness
- methods, combine and mutate
- . With an array of instances of the previous class (initial population) create an object of type GeneticAlgorithm.
GeneticAlgorithm class as many times as you want.
More documentation and examples: Website:
http://gga4r.rubyforge.org/es
RubyForge Project:
http://rubyforge.org/projects/gga4r
English Website: http://gga4r.rubyforge.org
0 comments:
Post a Comment