Changeset 3781 for trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/BealeEvaluator.cs
- Timestamp:
- 05/11/10 19:18:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/BealeEvaluator.cs
r3376 r3781 66 66 } 67 67 68 public override RealVector GetBestKnownSolution(int dimension) { 69 if (dimension != 2) throw new ArgumentException(Name + ": This function is only defined for 2 dimensions.", "dimension"); 70 return new RealVector(new double[] { 3, 0.5 }); 71 } 68 72 /// <summary> 69 73 /// Evaluates the test function for a specific <paramref name="point"/>.
Note: See TracChangeset
for help on using the changeset viewer.