Exemple #1
0
def population():
    return [SingleValueChromosome(str(i)) for i in range(10)]
Exemple #2
0
def single_value_population_of_4():
    return [SingleValueChromosome(),
            SingleValueChromosome(),
            SingleValueChromosome(),
            SingleValueChromosome()]
Exemple #3
0
def single_value_population_of_100():
    return [SingleValueChromosome() for _ in range(100)]
Exemple #4
0
def numbered_pop():
    return [SingleValueChromosome(str(i)) for i in range(10)]