- Timestamp:
- 01/30/09 10:38:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.TestFunctions/ZakharovEvaluator.cs
r291 r1188 25 25 26 26 namespace HeuristicLab.TestFunctions { 27 /// <summary> 28 /// Zakharov Function<br/> 29 /// Domain: [-5.0 , 10.0]^n<br/> 30 /// Optimum: 0.0 at (0.0, 0.0, ..., 0.0) 31 /// </summary> 27 32 public class ZakharovEvaluator : TestFunctionEvaluatorBase { 33 /// <inheritdoc select="summary"/> 28 34 public override string Description { 29 35 get { return … … 35 41 } 36 42 43 /// <summary> 44 /// Evaluates the test function for a specific <paramref name="point"/>. 45 /// </summary> 46 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 47 /// <returns>The result value of the Zakharov function at the given point.</returns> 37 48 public static double Apply(double[] point) { 38 49 int length = point.Length; … … 47 58 } 48 59 60 /// <summary> 61 /// Evaluates the test function for a specific <paramref name="point"/>. 62 /// </summary> 63 /// <remarks>Calls <see cref="Apply"/>.</remarks> 64 /// <param name="point">N-dimensional point for which the test function should be evaluated.</param> 65 /// <returns>The result value of the Zakharov function at the given point.</returns> 49 66 protected override double EvaluateFunction(double[] point) { 50 67 return Apply(point);
Note: See TracChangeset
for help on using the changeset viewer.