Skip to content

Demo code for a talk on how to code genetic algorithms, solving and visualizing the Traveling Salesperson Problem as an example

Notifications You must be signed in to change notification settings

ptrkkim/Genetic-Algo-Tech-Talk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genetic Algorithm Tech Talk

Demo for Fullstack Academy tech talk that visualizes solving the Traveling Salesperson Problem with a genetic algorithm.

Watch the talk!

The algorithm

Check out population.js and individual.js for the bulk of the algorithm. The front-end ticking + drawing logic gets a little hairy but check out index.js + utils.js if you would like to.

Check out notes.txt for a few example configurations (I recommend keeping mutation very low)!

About

Demo code for a talk on how to code genetic algorithms, solving and visualizing the Traveling Salesperson Problem as an example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published