Home▸AI & Machine Learning▸Genetic Algorithm: Route, Rastrigin and the Schema Theorem (2D)

🧬 Genetic Algorithm: Route, Rastrigin and the Schema Theorem (2D)

2D companion to the 3D genetic algorithm: a permutation GA for the travelling salesman problem with draggable cities, and a binary-coded GA on the Rastrigin function with a live test of Holland's schema theorem, plus eight numerical checks.

AI & Machine Learning2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Genetic Algorithm: Route, Rastrigin and the Schema Theorem (2D) ↗ Open standalone
⚙ Under the hood

2D companion to the 3D genetic algorithm: a permutation GA for the travelling salesman problem with draggable cities, and a binary-coded GA on the Rastrigin function with a live test of Holland's schema theorem and eight numerical checks.

genetic algorithmschema theoremRastrigintraveling salesmanevolutionary optimizationselectioncrossovermutationCanvas 2D

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)