🧬 Genetic Maze Solver + Topological Indices

Genetic Algorithm with index measurements (χ, cycles, discrete critic)
Gen: -
Best Fit: -
Length: -
Avg Fit: -
Diversity: -
Mutation: -
Topological Indices
χ (Euler): -
Cycles (best): -
Min/Saddle/Max: -
Genetic Index: -

Operational definitions:

  • χ (Euler): V − E of the explored subgraph (visited cells and their 4-neighbor adjacencies).
  • Cycles (best): number of loops removed by local search in the best path.
  • Min/Saddle/Max: discrete classification of elites (see code: classifyIndividual).
  • Genetic Index (GI): GI = (#min) − (#saddle) + (#max) in elites per generation.
💡 Tip: Reduce the 'Gens/frame' value to 1 and set FPS to 5-10 to see each generation step-by-step. Increase both values for faster results.