Skip to content

A short project where I am exploring the creation of a small genetic algorithm

Notifications You must be signed in to change notification settings

sakinkirti/genetic-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genetic-algorithm

@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

Relevant Files

  • evolution.py contains the main method to run the program
  • population.py stores each [mouse] in a list and contains methods to loop through updating the mouse locations
  • mouse.py stores mouse characteristics such as [DNA] and contains methods to update the mouse position, velocity, and acceleration
  • DNA.py stores the genetic information telling the [mouse] where to go
  • cheese.py stores the goal and is used to help calculate fitness

Additional Files

TO DO

  • 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

About

A short project where I am exploring the creation of a small genetic algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages