fixed
This commit is contained in:
@ -44,7 +44,7 @@ class GA:
|
|||||||
|
|
||||||
def evolve(self):
|
def evolve(self):
|
||||||
"""Runs the ga until the ga is no longer active."""
|
"""Runs the ga until the ga is no longer active."""
|
||||||
while(ga.active())
|
while(self.active()):
|
||||||
if(self.current_generation == 0):
|
if(self.current_generation == 0):
|
||||||
initialize_population()
|
initialize_population()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user