Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/25/14 14:00:47 (10 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.ArtificialAnt/3.4/Evaluator.cs

    r9456 r10507  
    3232  [Item("ArtificialAntEvaluator", "Evaluates an artificial ant solution.")]
    3333  [StorableClass]
    34   public class Evaluator : SingleSuccessorOperator, ISingleObjectiveEvaluator {
     34  public class Evaluator : InstrumentedOperator, ISingleObjectiveEvaluator {
    3535
    3636    public ILookupParameter<DoubleValue> QualityParameter {
     
    6060    }
    6161
    62     public sealed override IOperation Apply() {
     62    public sealed override IOperation InstrumentedApply() {
    6363      SymbolicExpressionTree expression = SymbolicExpressionTreeParameter.ActualValue;
    6464      BoolMatrix world = WorldParameter.ActualValue;
     
    7272
    7373      QualityParameter.ActualValue = new DoubleValue(interpreter.FoodEaten);
    74       return null;
     74      return base.InstrumentedApply();
    7575    }
    7676  }
Note: See TracChangeset for help on using the changeset viewer.