(population, **args)
return population[random.randint(0, len(population) - 1)]
The Uniform Selector
The Uniform Selector
The Uniform Selector
def GUniformSelector(population, **args):
   """ The Uniform Selector """
   return population[random.randint(0, len(population) - 1)]
def GUniformSelector ( population , * * args ) : return population [ random . randint ( 0 , len ( population ) - 1 ) ]