Documentation for Genetic Algorithm :
- GA
- GAU
GAU is the defaut functions used on "GA.init". Only modify if you are confident what are you doing.
To run the examples you must use python module notation: python -m src.path.to.filename
Sum 2 numbers, genetich will optimize those numbers to get highest sum.
python -m src.example.sum_maximization
or
make maximization
Sum 2 numbers, genetich will optimize those numbers to get lowest sum.
python -m example.sum_minimization
or
make minimization
Sum 2 numbers, genetich will optimize those numbers to get highest sum. This will use threads, IDK what it is so slow so help me if you have some sugestion about how to implement it wisely.
I think that it should be used only when your fitness function takes too much to run.
python -m src.example.sum_paralel.py