Simple implementation of Genetic Algorithm written in python3. A genetic algorithm is an algorithm that imitates the process of natural selection.
- Single point
- Multi point
- Uniform
- Shuffling
- Reduced surrogate
- Panmixia
- Inbreeding (Euclidean/Hamming distance)
- Outbreeding (Euclidean/Hamming distance)
- Tournament
- Roulette wheel
- Truncution
- Elite
- Exclusion
- Bolzmann
- Single point
- Install Numpy
pip install numpy
- Tweak constants in
main.py
, fitness function, number of iterations etc. - Run
python main.py
This project is licensed under the MIT License - see the LICENSE file for details