Skip to content

xirdneh/GeneticAlgorithmBasic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Simple Genetic Algorithm

TODO

  • Implement Tests
  • Measure time spent in each iteration

Summary

Uses matplotlib
Run the script as python main.py

It will create a file named result.txt where the results are going to be logged

It will print the iteration number and the number of the generation which reached the desired response

Number of iterations

Run the script as python main.py {\d} to specify the number of iterations
Example: python main.py 1 will run it once.
If there's no argument then it will run it 50 times as default.

About

Basic example of a genetic algorithm in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages