Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/25/14 14:00:47 (11 years ago)
Author:
mkommend
Message:

#2119: Merged r10149, r10231, r10261, r10291, r10292, r10295 and r10298 into stable.

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Problems.LawnMower/3.3/Evaluator.cs

    r9456 r10507  
    3232  [StorableClass]
    3333  [Item("Lawn Mower Evaluator", "Evaluator for the lawn mower demo GP problem.")]
    34   public class Evaluator : SingleSuccessorOperator, ISingleObjectiveEvaluator {
     34  public class Evaluator : InstrumentedOperator, ISingleObjectiveEvaluator {
    3535
    3636    private const string QualityParameterName = "Quality";
     
    7272      return new Evaluator(this, cloner);
    7373    }
    74     public override IOperation Apply() {
     74    public override IOperation InstrumentedApply() {
    7575      int length = LawnLengthParameter.ActualValue.Value;
    7676      int width = LawnWidthParameter.ActualValue.Value;
     
    8888
    8989      QualityParameter.ActualValue = new DoubleValue(numberOfMowedCells);
    90       return base.Apply();
     90      return base.InstrumentedApply();
    9191    }
    9292  }
Note: See TracChangeset for help on using the changeset viewer.