Update 'genetic.py'
This commit is contained in:
parent
e5388bc4b4
commit
bf948c4693
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user