← All projects

NQueensGeneticAlgorithms

Updated Feb 2025
PythonGenetic Algorithms

Highlights

  • Tournament selection and single-point crossover push populations toward zero-collision layouts.
  • Mutation rate scales automatically with board size for balanced exploration and convergence.
  • .env-configurable constants let you trial different populations, iteration caps, and board sizes from the CLI.