Added monitors and statistics, also made a module with some

specific python stuff in __init__.py
This commit is contained in:
maartenkeijzer 2003-01-10 15:41:17 +00:00
commit ea2e369542
19 changed files with 503 additions and 47 deletions

View file

@ -9,7 +9,7 @@ class TestSGA(unittest.TestCase):
def __init__(self, a):
unittest.TestCase.__init__(self, a)
self.pop = Pop(4, Init())
self.pop = eoPop(4, Init())
for i in range(len(self.pop)):
self.pop[i].fitness = i;