def OutputFittest(self):
     fittest = self.get_fittest()
     fpl.scoreteam(fittest.genes,True)
Esempio n. 2
0
 def OutputFittest(self):
     fittest = self.get_fittest()
     fpl.scoreteam(fittest.genes,True)
 def get_fitness(self, individual_passed):
     fitness = individual_passed.get_score()
     if fitness == -1:
         fitness = fpl.scoreteam(individual_passed.genes)
         individual_passed.set_score(fitness)
     return fitness
Esempio n. 4
0
 def get_fitness(self, individual_passed):
     fitness = individual_passed.get_score()
     if fitness == -1:
         fitness = fpl.scoreteam(individual_passed.genes)
         individual_passed.set_score(fitness)
     return fitness