Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GGA

GGA is an open-source class to help others to start using genetic algorithms. This entire project was designed to be just imported and have three methods overwrite to be ready to use.

How to use

  1. Clone the repository
  2. Import GGA
  3. Overwrite the methods using the methodos set_evaluate, set_random_genome and set_mutate
  4. Set custom parameters, such as "iteration limit" and "Elements per generation"
  5. call run() method!

Sample

The file sample.py use GGA to sort an array with 30 elements

TODO

  • improve threads use

About

Generic Genetic Algorithm for python

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages