Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1188 for trunk/sources


Ignore:
Timestamp:
01/30/09 10:38:42 (16 years ago)
Author:
vdorfer
Message:

Created API documentation for HeuristicLab.TestFunctions namespace (#331)

Location:
trunk/sources/HeuristicLab.TestFunctions
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.TestFunctions/AckleyEvaluator.cs

    r107 r1188  
    2828
    2929namespace 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>
    3035  public class AckleyEvaluator : TestFunctionEvaluatorBase {
     36    /// <inheritdoc select="summary"/>
    3137    public override string Description {
    3238      get { return
     
    3844    }
    3945
     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>
    4051    public static double Apply(double[] point) {
    4152      double result = 20 + Math.E;
     
    5869    }
    5970
     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>
    6077    protected override double EvaluateFunction(double[] point) {
    6178      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/BealeEvaluator.cs

    r1183 r1188  
    2424using System.Text;
    2525
    26 namespace HeuristicLab.TestFunctions {   
     26namespace HeuristicLab.TestFunctions {
     27  /// <summary>
     28  /// Beale Function<br/>
     29  /// Domain:  [-4.5 , 4.5]^2<br/>
     30  /// Optimum: 0.0 at (3.0, 0.5)
     31  /// </summary>
    2732  public class BealeEvaluator : TestFunctionEvaluatorBase {
     33    /// <inheritdoc select="summary"/>
    2834    public override string Description {
    2935      get { return
     
    3541    }
    3642
     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 Beale function at the given point.</returns>
    3748    public static double Apply(double[] point) {
    3849      return Math.Pow(1.5 - point[0] * (1 - point[1]), 2) + Math.Pow(2.25 - point[0] * (1 - (point[1] * point[1])), 2) + Math.Pow((2.625 - point[0] * (1 - (point[1] * point[1] * point[1]))), 2);
    3950    }
    4051
     52    /// <summary>
     53    /// Evaluates the test function for a specific <paramref name="point"/>.
     54    /// </summary>
     55    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     56    /// <param name="point">N-dimensional point for which the test function should be evaluated.</param>
     57    /// <returns>The result value of the Beale function at the given point.</returns>
    4158    protected override double EvaluateFunction(double[] point) {
    4259      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/BoothEvaluator.cs

    r1183 r1188  
    2525
    2626namespace HeuristicLab.TestFunctions {
     27  /// <summary>
     28  /// Booth Function<br/>
     29  /// Domain:  [-10.0 , 10.0]^2<br/>
     30  /// Optimum: 0.0 at (1.0, 3.0)
     31  /// </summary>
    2732  public class BoothEvaluator : TestFunctionEvaluatorBase {
     33    /// <inheritdoc select="summary"/>
    2834    public override string Description {
    2935      get {
     
    3642    }
    3743
     44    /// <summary>
     45    /// Evaluates the test function for a specific <paramref name="point"/>.
     46    /// </summary>
     47    /// <param name="point">N-dimensional point for which the test function should be evaluated.</param>
     48    /// <returns>The result value of the Booth function at the given point.</returns>
    3849    public static double Apply(double[] point) {
    3950      return Math.Pow(point[0] + 2 * point[1] - 7, 2) + Math.Pow(2 * point[0] + point[1] - 5, 2);
    4051    }
    4152
     53    /// <summary>
     54    /// Evaluates the test function for a specific <paramref name="point"/>.
     55    /// </summary>
     56    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     57    /// <param name="point">N-dimensional point for which the test function should be evaluated.</param>
     58    /// <returns>The result value of the Booth function at the given point.</returns>
    4259    protected override double EvaluateFunction(double[] point) {
    4360      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/GriewangkEvaluator.cs

    r107 r1188  
    2828
    2929namespace HeuristicLab.TestFunctions {
     30  /// <summary>
     31  /// Griewangk Function<br/>
     32  /// Domain:  [-600.0 , 600.0]^n<br/>
     33  /// Optimum: 0.0 at (0, 0, ..., 0)
     34  /// </summary>
    3035  public class GriewangkEvaluator : TestFunctionEvaluatorBase {
     36    /// <inheritdoc select="summary"/>
    3137    public override string Description {
    3238      get { return
     
    3844    }
    3945
     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 Griewangk function at the given point.</returns>
    4051    public static double Apply(double[] point) {
    4152      double result = 0;
     
    5465    }
    5566
     67    /// <summary>
     68    /// Evaluates the test function for a specific <paramref name="point"/>.
     69    /// </summary>
     70    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     71    /// <param name="point">N-dimensional point for which the test function should be evaluated.</param>
     72    /// <returns>The result value of the Griewangk function at the given point.</returns>
    5673    protected override double EvaluateFunction(double[] point) {
    5774      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/HeuristicLabTestFunctionsPlugin.cs

    r582 r1188  
    2626
    2727namespace HeuristicLab.TestFunctions {
     28  /// <summary>
     29  /// Plugin class for HeuristicLab.TestFunctions plugin.
     30  /// </summary>
    2831  [ClassInfo(Name = "HeuristicLab.TestFunctions-3.2")]
    2932  [PluginFile(Filename = "HeuristicLab.TestFunctions-3.2.dll", Filetype = PluginFileType.Assembly)]
  • trunk/sources/HeuristicLab.TestFunctions/LevyEvaluator.cs

    r291 r1188  
    2525
    2626namespace HeuristicLab.TestFunctions {
     27  /// <summary>
     28  /// Levy Function<br/>
     29  /// Domain:  [-10.0 , 10.0]^n<br/>
     30  /// Optimum: 0.0 at (1.0, 1.0, ..., 1.0)
     31  /// </summary>
    2732  public class LevyEvaluator : TestFunctionEvaluatorBase {
     33    /// <inheritdoc select="summary"/>
    2834    public override string Description {
    2935      get { return
     
    3541    }
    3642
     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 Levy function at the given point.</returns>
    3748    public static double Apply(double[] point) {
    3849      int length = point.Length;
     
    5364    }
    5465
     66    /// <summary>
     67    /// Evaluates the test function for a specific <paramref name="point"/>.
     68    /// </summary>
     69    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     70    /// <param name="point">N-dimensional point for which the test function should be evaluated.</param>
     71    /// <returns>The result value of the Levy function at the given point.</returns>
    5572    protected override double EvaluateFunction(double[] point) {
    5673      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/MatyasEvaluator.cs

    r291 r1188  
    2525
    2626namespace HeuristicLab.TestFunctions {
     27  /// <summary>
     28  /// Matyas Function<br/>
     29  /// Domain:  [-10.0 , 10.0]^2<br/>
     30  /// Optimum: 0.0 at (0.0, 0.0)
     31  /// </summary>
    2732  public class MatyasEvaluator : TestFunctionEvaluatorBase {
     33    /// <inheritdoc select="summary"/>
    2834    public override string Description {
    2935      get { return
     
    3541    }
    3642
     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 Matyas function at the given point.</returns>
    3748    public static double Apply(double[] point) {
    3849      return 0.26 * (point[0] * point[0] + point[1] * point[1]) - 0.48 * point[0] * point[1];
    3950    }
    4051
     52    /// <summary>
     53    /// Evaluates the test function for a specific <paramref name="point"/>.
     54    /// </summary>
     55    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     56    /// <param name="point">N-dimensional point for which the test function should be evaluated.</param>
     57    /// <returns>The result value of the Matyas function at the given point.</returns>
    4158    protected override double EvaluateFunction(double[] point) {
    4259      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/RastriginEvaluator.cs

    r107 r1188  
    2828
    2929namespace HeuristicLab.TestFunctions {
     30  /// <summary>
     31  /// Rastrigin Function<br/>
     32  /// Domain:  [-5.12 , 5.12]^n<br/>
     33  /// Optimum: 0.0 at (0, 0, ..., 0)
     34  /// </summary>
    3035  public class RastriginEvaluator : TestFunctionEvaluatorBase {
     36    /// <inheritdoc select="summary"/>
    3137    public override string Description {
    3238      get { return
     
    3844    }
    3945
     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 Rastrigin function at the given point.</returns>
    4051    public static double Apply(double[] point) {
    4152      double result = 10 * point.Length;
     
    4758    }
    4859
     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 Rastrigin function at the given point.</returns>
    4966    protected override double EvaluateFunction(double[] point) {
    5067      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/RosenbrockEvaluator.cs

    r107 r1188  
    2828
    2929namespace 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>
    3035  public class RosenbrockEvaluator : TestFunctionEvaluatorBase {
     36    /// <inheritdoc select="summary"/>
    3137    public override string Description {
    3238      get { return
     
    3844    }
    3945
     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>
    4051    public static double Apply(double[] point) {
    4152      double result = 0;
     
    4758    }
    4859
     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>
    4966    protected override double EvaluateFunction(double[] point) {
    5067      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/SchwefelEvaluator.cs

    r107 r1188  
    2828
    2929namespace 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>
    3035  public class SchwefelEvaluator : TestFunctionEvaluatorBase {
     36    /// <inheritdoc select="summary"/>
    3137    public override string Description {
    3238      get { return
     
    3844    }
    3945
     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>
    4051    public static double Apply(double[] point) {
    4152      double result = 418.982887272433 * point.Length;
     
    4556    }
    4657
     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>
    4764    protected override double EvaluateFunction(double[] point) {
    4865      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/SphereEvaluator.cs

    r107 r1188  
    2828
    2929namespace 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>
    3035  public class SphereEvaluator : TestFunctionEvaluatorBase {
     36    /// <inheritdoc select="summary"/>
    3137    public override string Description {
    3238      get { return
     
    3844    }
    3945
     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>
    4051    public static double Apply(double[] point) {
    4152      double result = 0;
     
    4556    }
    4657
     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>
    4764    protected override double EvaluateFunction(double[] point) {
    4865      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/SumSquaresEvaluator.cs

    r291 r1188  
    2525
    2626namespace HeuristicLab.TestFunctions {
     27  /// <summary>
     28  /// Sum Squares Function<br/>
     29  /// Domain:  [-10.0 , 10.0]^n<br/>
     30  /// Optimum: 0.0 at (0.0, 0.0, ..., 0.0)
     31  /// </summary>
    2732  public class SumSquaresEvaluator : TestFunctionEvaluatorBase {
     33    /// <inheritdoc select="summary"/>
    2834    public override string Description {
    2935      get { return
     
    3541    }
    3642
     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 Sum Squares function at the given point.</returns>
    3748    public static double Apply(double[] point) {
    3849      double result = 0;
     
    4354    }
    4455
     56    /// <summary>
     57    /// Evaluates the test function for a specific <paramref name="point"/>.
     58    /// </summary>
     59    /// <remarks>Calls <see cref="Apply"/>.</remarks>
     60    /// <param name="point">N-dimensional point for which the test function should be evaluated.</param>
     61    /// <returns>The result value of the Sum Squares function at the given point.</returns>
    4562    protected override double EvaluateFunction(double[] point) {
    4663      return Apply(point);
  • trunk/sources/HeuristicLab.TestFunctions/TestFunctionEvaluatorBase.cs

    r2 r1188  
    2828
    2929namespace HeuristicLab.TestFunctions {
     30  /// <summary>
     31  /// Base class for a test function evaluator.
     32  /// </summary>
    3033  public abstract class TestFunctionEvaluatorBase : SingleObjectiveEvaluatorBase {
     34    /// <summary>
     35    /// Initializes a new instance of <see cref="TestFunctionEvaluatorBase"/> with one variable info
     36    /// (<c>Point</c>).
     37    /// </summary>
    3138    public TestFunctionEvaluatorBase() {
    3239      AddVariableInfo(new VariableInfo("Point", "n-dimensional point for which the test function should be evaluated", typeof(DoubleArrayData), VariableKind.In));
    3340    }
    3441
     42    /// <summary>
     43    /// Evaluates the test function for a specific point.
     44    /// </summary>
     45    /// <remarks>Calls <see cref="EvaluateFunction(double[])"/>.</remarks>
     46    /// <param name="scope">The current scope with the point for which to evaluate.</param>
     47    /// <returns>The result value of the function at the given point.</returns>
    3548    protected sealed override double Evaluate(IScope scope) {
    3649      return EvaluateFunction(GetVariableValue<DoubleArrayData>("Point", scope, false).Data);
    3750    }
    3851
     52    /// <summary>
     53    /// Evaluates the test function for a specific <paramref name="point"/>.
     54    /// </summary>
     55    /// <param name="point">N-dimensional point for which the test function should be evaluated.</param>
     56    /// <returns>The result value of the function at the given point.</returns>
    3957    protected abstract double EvaluateFunction(double[] point);
    4058  }
  • trunk/sources/HeuristicLab.TestFunctions/TestFunctionInjector.cs

    r110 r1188  
    2727
    2828namespace HeuristicLab.TestFunctions {
     29  /// <summary>
     30  /// Injects the necessary variables for optimizing a test function
     31  /// </summary>
    2932  public class TestFunctionInjector : OperatorBase {
     33    /// <inheritdoc select="summary"/>
    3034    public override string Description {
    3135      get {
     
    3438    }
    3539
     40    /// <summary>
     41    /// Gets or sets the boolean flag whether it is an optimization problem or not.
     42    /// </summary>
    3643    public bool Maximization {
    3744      get { return GetVariable("Maximization").GetValue<BoolData>().Data; }
     
    3946    }
    4047
     48    /// <summary>
     49    /// Gets or sets the lower bound.
     50    /// </summary>
    4151    public double LowerBound {
    4252      get { return GetVariable("LowerBound").GetValue<DoubleData>().Data; }
     
    4454    }
    4555
     56    /// <summary>
     57    /// Gets or sets the upper bound.
     58    /// </summary>
    4659    public double UpperBound {
    4760      get { return GetVariable("UpperBound").GetValue<DoubleData>().Data; }
     
    4962    }
    5063
     64    /// <summary>
     65    /// Gets or sets the dimension.
     66    /// </summary>
    5167    public int Dimension {
    5268      get { return GetVariable("Dimension").GetValue<IntData>().Data; }
     
    5470    }
    5571
     72    /// <summary>
     73    /// Initializes a new instance of <see cref="TestFunctionInjector"/> with four variable infos
     74    /// (<c>Maximization</c>, <c>LowerBound</c>, <c>UpperBound</c> and <c>Dimension</c>).
     75    /// </summary>
    5676    public TestFunctionInjector()
    5777      : base() {
     
    6282    }
    6383
     84    /// <summary>
     85    /// Injects the necessary variables for optimizing a test function.
     86    /// </summary>
     87    /// <param name="scope">The scope where to inject the variables.</param>
     88    /// <returns><c>null</c>.</returns>
    6489    public override IOperation Apply(IScope scope) {
    6590      scope.AddVariable((IVariable)GetVariable("Maximization").Clone());
     
    7095    }
    7196
     97    /// <summary>
     98    /// Creates a new instance of <see cref="TestFunctionInjectorView"/> to represent the current
     99    /// instance visually.
     100    /// </summary>
     101    /// <returns>The newly created view as <see cref="TestFunctionInjectorView"/>.</returns>
    72102    public override IView CreateView() {
    73103      return new TestFunctionInjectorView(this);
  • trunk/sources/HeuristicLab.TestFunctions/TestFunctionInjectorView.cs

    r109 r1188  
    3232
    3333namespace HeuristicLab.TestFunctions {
     34  /// <summary>
     35  /// Visual representation of a <see cref="TestFunctionInjector"/>.
     36  /// </summary>
    3437  public partial class TestFunctionInjectorView : ViewBase {
     38    /// <summary>
     39    /// Gets or sets the TestFunctionInjector to represent visually.
     40    /// </summary>
     41    /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>.
     42    /// No own data storage present.</remarks>
    3543    public TestFunctionInjector TestFunctionInjector {
    3644      get { return (TestFunctionInjector)base.Item; }
     
    3846    }
    3947
     48    /// <summary>
     49    /// Initializes a new instance of <see cref="TestFunctionInjectorView"/>.
     50    /// </summary>
    4051    public TestFunctionInjectorView() {
    4152      InitializeComponent();
    4253    }
    4354
     55    /// <summary>
     56    /// Initializes a new instance of <see cref="TestFunctionInjectorView"/> with the given
     57    /// <paramref name="testFunctionInjector"/> to display.
     58    /// </summary>
     59    /// <param name="testFunctionInjector">The injector to represent visually.</param>
    4460    public TestFunctionInjectorView(TestFunctionInjector testFunctionInjector)
    4561      : this() {
     
    4763    }
    4864
     65    /// <summary>
     66    /// Removes the eventhandler from the underlying controls.
     67    /// </summary>
     68    /// <remarks>Calls <see cref="ViewBase.RemoveItemEvents"/> of base class <see cref="ViewBase"/>.
     69    /// </remarks>
    4970    protected override void RemoveItemEvents() {
    5071      maximizationCheckBox.DataBindings.Clear();
     
    5576    }
    5677
     78    /// <summary>
     79    /// Adds eventhandlers to the underlying controls.
     80    /// </summary>
     81    /// <remarks>Calls <see cref="ViewBase.AddItemEvents"/> of base class <see cref="ViewBase"/>.
     82    /// </remarks>
    5783    protected override void AddItemEvents() {
    5884      base.AddItemEvents();
     
    6389    }
    6490
     91    /// <summary>
     92    /// Updates all controls with the latest values.
     93    /// </summary>
     94    /// <remarks>Calls <see cref="ViewBase.UpdateControls"/> of base class <see cref="ViewBase"/>.</remarks>
    6595    protected override void UpdateControls() {
    6696      base.UpdateControls();
  • trunk/sources/HeuristicLab.TestFunctions/ZakharovEvaluator.cs

    r291 r1188  
    2525
    2626namespace 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>
    2732  public class ZakharovEvaluator : TestFunctionEvaluatorBase {
     33    /// <inheritdoc select="summary"/>
    2834    public override string Description {
    2935      get { return
     
    3541    }
    3642
     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>
    3748    public static double Apply(double[] point) {
    3849      int length = point.Length;
     
    4758    }
    4859
     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>
    4966    protected override double EvaluateFunction(double[] point) {
    5067      return Apply(point);
Note: See TracChangeset for help on using the changeset viewer.