- Timestamp:
- 01/28/09 10:03:56 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.TestFunctions/BoothEvaluator.cs
r291 r1183 27 27 public class BoothEvaluator : TestFunctionEvaluatorBase { 28 28 public override string Description { 29 get { return 30 @"Booth Function 29 get { 30 return 31 @"Booth Function 31 32 32 33 Domain: [-10.0 , 10.0]^2 33 34 Optimum: 0.0 at (1.0, 3.0)"; 34 35 } 35 36 } 36 37 37 p rivatedouble Apply(double[] point) {38 public static double Apply(double[] point) { 38 39 return Math.Pow(point[0] + 2 * point[1] - 7, 2) + Math.Pow(2 * point[0] + point[1] - 5, 2); 39 40 }
Note: See TracChangeset
for help on using the changeset viewer.