Skip to content
An interactive genetic algorithm based on a finite state machine.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
index.html
main.css
package-lock.json
package.json
webpack.config.js

README.md

Genetic Algorithm in Javascript

A genetic algorithm optimizes a robot's strategy to clean a littered room. This is based on an example genetic algorithm posed in Dr. Melanie Mitchell's Complexity: A Guided Tour.

Running

This is visible on my website, or you can run it locally:

  1. Clone the repository
  2. Install dependencies
npm install

Note: If you have a modern version of npm, this will automatically run the prepare task, which does a build. Otherwise you will need to run npm run build yourself.

  1. Run the server
npm start
You can’t perform that action at this time.