Esempio n. 1
0
 public ESSolution(PexEvolutionStrategyArithmeticSolver solver, IArithmeticModel model, int variableCount)
 {
     this.solver        = solver;
     this.currentModel  = model;
     this.stdDeviations = new double[variableCount];
     this.fitness       = Double.MaxValue;
 }
Esempio n. 2
0
 public ESSolution(PexEvolutionStrategyArithmeticSolver solver, IArithmeticModel model, double[] stdDeviations, double fitness)
 {
     this.solver        = solver;
     this.currentModel  = model;
     this.stdDeviations = new double[stdDeviations.Length];
     stdDeviations.CopyTo(this.stdDeviations, 0);
     this.fitness = fitness;
 }