예제 #1
0
 def _maze_metrics(population, environment):
     return {'knowledge': maze_knowledge(population, environment)}
예제 #2
0
def maze_metrics(population, environment):
    return {
        'population': len(population),
        'knowledge': maze_knowledge(population, environment)
    }