Update 'genetic.py'

This commit is contained in:
Maciej Mrowicki 2021-06-20 08:55:22 +02:00
parent e5388bc4b4
commit bf948c4693

View File

@ -16,7 +16,7 @@ def genetic(goals, A):
mutationRate = 0.01
for i in range(totalPopulaton):
population.append(DNA(goals)
population.append(DNA(goals))
for j in range(totalPopulaton):
matingPool.clear()