@author Sakin Kirti
@place CWRU Computer Science | Public Health 2023
A short project where I am exploring the creation of a small genetic algorithm
Is paired with a short demonstration when running evolution.py
evolution.py
contains the main method to run the programpopulation.py
stores each [mouse] in a list and contains methods to loop through updating the mouse locationsmouse.py
stores mouse characteristics such as [DNA] and contains methods to update the mouse position, velocity, and accelerationDNA.py
stores the genetic information telling the [mouse] where to gocheese.py
stores the goal and is used to help calculate fitness
graphics.py
contains the graphics methods to used to create this project: Young, Daniel. Python Programming: Introduction to Computer Science. 2018. 2022. GitHub, https://github.com/drypycode/zelle-python/blob/ccd781784bf2a635d1f6e84ec2173d2ae7d50098/graphics.py.
- improve algorithm so that mice eventually converge to find a best path
- remove additional methods that are not needed
- improve graphics by adding trailing lines