Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/08/13 18:57:53 (11 years ago)
Author:
jkarder
Message:

#2029:

  • added EvaluateFunction to ISingleObjectiveTestFunctionProblemEvaluator and adapted evaluators
  • fixed SingleObjectiveTestFunctionImprovementOperator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Evaluators/SingleObjectiveTestFunctionProblemEvaluator.cs

    r7259 r9345  
    9292      return EvaluateFunction(new RealVector(new double[] { x, y }));
    9393    }
    94     /// <summary>
    95     /// Gets the best known solution for this function.
    96     /// </summary>
    97     public abstract RealVector GetBestKnownSolution(int dimension);
    9894
    9995    /// <summary>
     
    10298    /// <param name="point">N-dimensional point for which the test function should be evaluated.</param>
    10399    /// <returns>The result value of the function at the given point.</returns>
    104     protected abstract double EvaluateFunction(RealVector point);
     100    public abstract double EvaluateFunction(RealVector point);
     101
     102    /// <summary>
     103    /// Gets the best known solution for this function.
     104    /// </summary>
     105    public abstract RealVector GetBestKnownSolution(int dimension);
    105106  }
    106107}
Note: See TracChangeset for help on using the changeset viewer.