Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/07/14 11:14:18 (11 years ago)
Author:
mkommend
Message:

#2119: Added interface for instrumented operators and adapted problem and encoding specific operators to provide instrumentation capabilities.

File:
1 edited

Legend:

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

    r9980 r10291  
    3434  [Item("Evaluator", "Base calls for single objective test function evaluators.")]
    3535  [StorableClass]
    36   public abstract class SingleObjectiveTestFunctionProblemEvaluator : SingleSuccessorOperator, ISingleObjectiveTestFunctionProblemEvaluator {
     36  public abstract class SingleObjectiveTestFunctionProblemEvaluator : InstrumentedOperator, ISingleObjectiveTestFunctionProblemEvaluator {
    3737    /// <summary>
    3838    /// The name of the function
     
    8686    }
    8787
    88     public override IOperation Apply() {
     88    public override IOperation InstrumentedApply() {
    8989      RealVector point = PointParameter.ActualValue;
    9090      double quality = Evaluate(point);
    9191      QualityParameter.ActualValue = new DoubleValue(quality);
    92       return base.Apply();
     92      return base.InstrumentedApply();
    9393    }
    9494
Note: See TracChangeset for help on using the changeset viewer.