BoundedMutation:
--------------------------------------------------------------------------
GA mutation function where change is bounded within a fraction of the range.
Each element is mutated independently.
There are three options supplied by the user:
nMut, the number of mutations attempted each generation,
pMut, the probability that the randomly selected member will have a mutation,
fracMut, the fraction of the range over which the mutations will occur.
The first option, iGen, is supplied by the genetic algorithm.
Since version 7.
--------------------------------------------------------------------------
Form:
child = BoundedMutation( parent, bounds, opts )
--------------------------------------------------------------------------
------
Inputs
------
parent (1,m+1) Parent member
bounds (m,2) Variable bounds (-/+)
opts (4) Options, [iGen nMut pMut fracMut]
-------
Outputs
-------
child (1,m+1) Mutated child
--------------------------------------------------------------------------