Tiny Genetic Algorithm in Python
A minimalistic program implementing a genetic algorithm with the following attributes:
- The genome is a bitstring (i.e., {0,1}*)
- The fitness is "maxone" -- number of 1s in an individual genome
- Tournament selection
- Single-point crossover
- Bitwise (flip) mutation