- Timestamp:
- 01/30/09 10:38:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.TestFunctions/AckleyEvaluator.cs
r107 r1188 28 28 29 29 namespace HeuristicLab.TestFunctions { 30 /// <summary> 31 /// Ackley Function<br/> 32 /// Domain: [-32.768 , 32.768]^n <br/> 33 /// Optimum: 0.0 at (0, 0, ..., 0) 34 /// </summary> 30 35 public class AckleyEvaluator : TestFunctionEvaluatorBase { 36 /// <inheritdoc select="summary"/> 31 37 public override string Description { 32 38 get { return … … 38 44 } 39 45 46 /// <summary> 47 /// Evaluates the test function for a specific <paramref name="point"/>. 48 /// </summary> 49 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 50 /// <returns>The result value of the Ackley function at the given point.</returns> 40 51 public static double Apply(double[] point) { 41 52 double result = 20 + Math.E; … … 58 69 } 59 70 71 /// <summary> 72 /// Evaluates the test function for a specific <paramref name="point"/>. 73 /// </summary> 74 /// <remarks>Calls <see cref="Apply"/>.</remarks> 75 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 76 /// <returns>The result value of the Ackley function at the given point.</returns> 60 77 protected override double EvaluateFunction(double[] point) { 61 78 return Apply(point);
Note: See TracChangeset
for help on using the changeset viewer.