Route Genome

Watch random triplets evolve into a cross-country tour.

Java demo · seed 42
Run settings
Population
Mutation and shuffle

Each mutation chance is an independent roll to replace one random gene. Shuffle odds scale with average city coverage.

Inversion

A successful attempt reverses a segment only if it shortens the tour.

Tournament selection
Baseline fitness
Roulette bonuses

Tour comparison

  • Undiscovered
  • New stop
U.S. Census boundaries

Winning chromosome

Focus a city triplet to find its stop on the map.

  • Non-city triplet
  • City stop
  • Duplicate city

Population phenotypes

Waiting for the first population snapshot.