Source

PyCGA / README.md

Full commit

PyCGA

PyCGA is a simple implementation of Compact Genetic Algorithm (cGA) written in Python. It implements a simple OneMax fitness function and a trap-5, as well as a (very simple and very biased) method of solving the said trap. PyCGA can also plot simple graphs showing how the fitness score and the state of each member inside the probability vector change as our algorithm "evolves".

Dependencies

References