- Timestamp:
- 01/28/09 10:03:56 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.TestFunctions/BealeEvaluator.cs
r291 r1183 24 24 using System.Text; 25 25 26 namespace HeuristicLab.TestFunctions { 26 namespace HeuristicLab.TestFunctions { 27 27 public class BealeEvaluator : TestFunctionEvaluatorBase { 28 28 public override string Description { … … 35 35 } 36 36 37 public static double Appl ay(double[] point) {37 public static double Apply(double[] point) { 38 38 return Math.Pow(1.5 - point[0] * (1 - point[1]), 2) + Math.Pow(2.25 - point[0] * (1 - (point[1] * point[1])), 2) + Math.Pow((2.625 - point[0] * (1 - (point[1] * point[1] * point[1]))), 2); 39 39 } 40 40 41 41 protected override double EvaluateFunction(double[] point) { 42 return Appl ay(point);42 return Apply(point); 43 43 } 44 44 }
Note: See TracChangeset
for help on using the changeset viewer.