FractionalSelection:
--------------------------------------------------------------------------
GA selection function where a fixed fraction of the population survives.
Ranking is the product of fitness normalized by max fitness (least cost) and
random weights.
The user supplies the option fracDelete. The first option, iGen, is provided
by the genetic algorithm.
Since version 7.
--------------------------------------------------------------------------
Form:
newPop = FractionalSelection( oldPop, opts )
--------------------------------------------------------------------------
------
Inputs
------
oldPop (n,m+1) Original population, last column is fitness
opts (2) Options, [iGen fracDelete]
-------
Outputs
-------
newPop (n,m+1) New population
--------------------------------------------------------------------------