change fitness from list to array

optimize the code of reproduction.
This commit is contained in:
wls2002
2023-05-11 08:14:58 +08:00
parent b271a56827
commit 299ff1f8f1
4 changed files with 37 additions and 34 deletions

View File

@@ -13,7 +13,7 @@
"fitness_criterion": "max",
"fitness_threshold": -0.001,
"generation_limit": 1000,
"pop_size": 30,
"pop_size": 1000,
"reset_on_extinction": "False"
},
"gene": {