Closed nickumia closed 1 year ago
Notes:
blind
blindsearch
informed
localsearch
GeneticSearch
fix_missing
mutate
NQueensGeneticEncoding
NQueens
[0, n-1]
[1, n]
Notes:
blind
toblindsearch
andinformed
tolocalsearch
GeneticSearch
algorithm that is (mostly) environment-agnosticGeneticSearch
has n-queens specific optimization code in it tofix_missing
if there are duplicated queensGeneticSearch
has n-queens specific optimization code in it tomutate
to only swap queens and not to randomly mutate any indexNQueensGeneticEncoding
that wrapsNQueens
into a genetic algorithm-compatible form[0, n-1]
to[1, n]