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.OneMax/3.3/Evaluators/OneMaxEvaluator.cs

    r9456 r10507  
    3434  [Item("OneMaxEvaluator", "Evaluates solutions for the OneMax problem.")]
    3535  [StorableClass]
    36   public class OneMaxEvaluator : SingleSuccessorOperator, IOneMaxEvaluator {
     36  public class OneMaxEvaluator : InstrumentedOperator, IOneMaxEvaluator {
    3737    public ILookupParameter<DoubleValue> QualityParameter {
    3838      get { return (ILookupParameter<DoubleValue>)Parameters["Quality"]; }
     
    5656    }
    5757
    58     public sealed override IOperation Apply() {
     58    public sealed override IOperation InstrumentedApply() {
    5959      BinaryVector v = BinaryVectorParameter.ActualValue;
    6060
     
    6767      QualityParameter.ActualValue = new DoubleValue(quality);
    6868
    69       return base.Apply();
     69      return base.InstrumentedApply();
    7070    }
    7171  }
Note: See TracChangeset for help on using the changeset viewer.