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