Zaktualizuj 'genetic.py'
This commit is contained in:
parent
72e3ff9f1b
commit
2557e567f5
@ -16,7 +16,7 @@ def genetic(goals, A):
|
||||
mutationRate = 0.01
|
||||
|
||||
for i in range(totalPopulaton):
|
||||
population.append(DNA(goals, recordDistance))
|
||||
population.append(DNA(goals)
|
||||
|
||||
for j in range(totalPopulaton):
|
||||
matingPool.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user