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