Changeset 15205


Ignore:
Timestamp:
07/12/17 10:46:50 (3 months ago)
Author:
pfleck
Message:

#2592 Speed-up MOCMAES by batch-incrementing Evaluations to reduce update-overhead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/MOCMAEvolutionStrategy.cs

    r15203 r15205  
    319319        PenalizeEvaluate(solutions[i]);
    320320      }
     321      ResultsEvaluations += solutions.Length;
    321322    }
    322323    private void InitStrategy() {
     
    384385        return o;
    385386      });
     387      ResultsEvaluations += solutions.Length;
    386388      var parents = solutions.Concat(offspring).ToArray();
    387389      SelectParents(parents, solutions.Length);
     
    409411    private double[] Evaluate(RealVector x) {
    410412      var res = Problem.Evaluate(new SingleEncodingIndividual(Problem.Encoding, new Scope { Variables = { new Variable(Problem.Encoding.Name, x) } }), random);
    411       ResultsEvaluations++;
    412413      return res;
    413414    }
Note: See TracChangeset for help on using the changeset viewer.