- Timestamp:
- 01/30/09 10:38:42 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.TestFunctions/SphereEvaluator.cs
r107 r1188 28 28 29 29 namespace HeuristicLab.TestFunctions { 30 /// <summary> 31 /// Sphere Function<br/> 32 /// Domain: [-5.12 , 5.12]^n<br/> 33 /// Optimum: 0.0 at (0, 0, ..., 0) 34 /// </summary> 30 35 public class SphereEvaluator : 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 Sphere function at the given point.</returns> 40 51 public static double Apply(double[] point) { 41 52 double result = 0; … … 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 Sphere 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.