Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/09 10:03:56 (16 years ago)
Author:
vdorfer
Message:

Fixed spelling mistake of Apply method in BealeEvaluator and changed Apply method of BoothEvaluator from private to public static (#477)

File:
1 edited

Legend:

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

    r291 r1183  
    2727  public class BoothEvaluator : TestFunctionEvaluatorBase {
    2828    public override string Description {
    29       get { return
    30 @"Booth Function
     29      get {
     30        return
     31          @"Booth Function
    3132
    3233Domain:  [-10.0 , 10.0]^2
    3334Optimum: 0.0 at (1.0, 3.0)";
    34           }
     35      }
    3536    }
    3637
    37     private double Apply(double[] point) {
     38    public static double Apply(double[] point) {
    3839      return Math.Pow(point[0] + 2 * point[1] - 7, 2) + Math.Pow(2 * point[0] + point[1] - 5, 2);
    3940    }
Note: See TracChangeset for help on using the changeset viewer.