🧬 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.
⚙ 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