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