Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/28/08 11:38:43 (16 years ago)
Author:
swagner
Message:

Fixed ticket #87

  • used a static method Apply in each test function evaluation operator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.TestFunctions/SphereEvaluator.cs

    r2 r107  
    3838    }
    3939
    40     protected override double EvaluateFunction(double[] point) {
     40    public static double Apply(double[] point) {
    4141      double result = 0;
    4242      for (int i = 0; i < point.Length; i++)
     
    4444      return result;
    4545    }
     46
     47    protected override double EvaluateFunction(double[] point) {
     48      return Apply(point);
     49    }
    4650  }
    4751}
Note: See TracChangeset for help on using the changeset viewer.