public void Mutate(double globalrate, MathNet.Numerics.Distributions.ISetDistribution dist) { double sigma = globalrate * AllowableVariation; dist.Mean = this.Value; dist.StdDev = sigma; double newval = dist.Sample(); this.Value = newval; }
void IVariable.Mutate(double globalrate, MathNet.Numerics.Distributions.ISetDistribution dist) { throw new NotImplementedException(); }