Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 624 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 624 Bytes

Modified Ant food problem using genetic algorithms, passing good path traits to next generation.

A small generation of ant's (dynamic particle) tries to find the path for a sugar placed at some distance that have a obstacle. If ants collied with obstacle, it dies.

A generation live for certain amount of time and then dies.

This small project shows how ants passess traits to their next generation to figure out the path to sugar avoiding obstacle.

checkout this out -> https://dg92.github.io/ant_sugar/

Note: after some generations the ants figure out the path to sugar and then all ants will follow the same path.