public void Evaluate(FloatingPointChromosome chromosome)
 {
     double[] x = chromosome.GetValues();
     chromosome.Fitness = _function.Value(x);
 }
示例#2
0
 public FloatingPointChromosome(FloatingPointChromosome chromosome) : base(chromosome)
 {
     _problem = chromosome._problem;
 }