(pop)
Saturated Scaling Scheme. The fitness will be the same as 1.0-(e^score)

   .. versionadded: 0.6
      The `SaturatedScaling` function.
Saturated Scaling Scheme. The fitness will be the same as 1.0-(e^score)
Saturated Scaling Scheme . The fitness will be the same as 1 . 0 - ( e^score )
def SaturatedScaling(pop):
   """ Saturated Scaling Scheme. The fitness will be the same as 1.0-(e^score)

   .. versionadded: 0.6
      The `SaturatedScaling` function.
   """
   for i in xrange(len(pop)):
      score = pop[i].score
      pop[i].fitness = 1.0 - math.exp(score)
def SaturatedScaling ( pop ) : for i in xrange ( len ( pop ) ) : score = pop [ i ] . score pop [ i ] . fitness = 1.0 - math . exp ( score )