Esempio n. 1
0
 public void Evaluate()
 {
     Fitness = Weight <= MyProblem.Capacity ? MyProblem.Evaluate(Objects) : double.NegativeInfinity;
     MyAlgorithm.EFOs++;
 }