• Function of a single variable Steps
    1. Random population
    2. Sort
    3. Kill the worst half
    4. Pair up for breeding, use 0.4 0.7 0.9 1.0
    5. Blending
      • Beta=rand
        x=Beta*x1+(1-Beta)*x2
        x=(1-Beta)*x1+Beta*x2
      • x=0.5*x1+0.5*x2
        x=1.5*x1-0.5*x2
        x=-0.5*x1+1.5*x2
        if x out of bounds then add or subtract xmax-xmin (thanks to Alex Krzepicki)
        take best two
    6. Mutation
    7. Repeat from Sort