- Timestamp:
- 01/30/09 10:38:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.TestFunctions/SchwefelEvaluator.cs
r107 r1188 28 28 29 29 namespace HeuristicLab.TestFunctions { 30 /// <summary> 31 /// Schwefel Function (Sine Root)<br/> 32 /// Domain: [-500.0 , 500.0]^n<br/> 33 /// Optimum: 0.0 at (420.968746453712, 420.968746453712, ..., 420.968746453712) 34 /// </summary> 30 35 public class SchwefelEvaluator : 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 Schwefel function at the given point.</returns> 40 51 public static double Apply(double[] point) { 41 52 double result = 418.982887272433 * point.Length; … … 45 56 } 46 57 58 /// <summary> 59 /// Evaluates the test function for a specific <paramref name="point"/>. 60 /// </summary> 61 /// <remarks>Calls <see cref="Apply"/>.</remarks> 62 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 63 /// <returns>The result value of the Schwefel function at the given point.</returns> 47 64 protected override double EvaluateFunction(double[] point) { 48 65 return Apply(point);
Note: See TracChangeset
for help on using the changeset viewer.