Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/30/13 10:54:12 (12 years ago)
Author:
jkarder
Message:

#2029: applied the changes suggested by gkronber in comment:5:ticket:2029

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/MultinormalEvaluator.cs

    r9345 r9407  
    101101
    102102    private double FastFindOptimum(out RealVector bestSolution) {
    103       var optima = centers.Select((c, i) => new { f = EvaluateFunction(c), i }).OrderBy(v => v.f).ToList();
     103      var optima = centers.Select((c, i) => new { f = Evaluate(c), i }).OrderBy(v => v.f).ToList();
    104104      if (optima.Count == 0) {
    105105        bestSolution = new RealVector();
     
    161161    }
    162162
    163     public override double EvaluateFunction(RealVector point) {
     163    public override double Evaluate(RealVector point) {
    164164      double value = 0;
    165165      if (centers.Count == 0) {
Note: See TracChangeset for help on using the changeset viewer.