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.Knapsack/3.3/Evaluators/KnapsackEvaluator.cs

    r9456 r10507  
    3535  [Item("KnapsackEvaluator", "Evaluates solutions for the Knapsack problem.")]
    3636  [StorableClass]
    37   public class KnapsackEvaluator : SingleSuccessorOperator, IKnapsackEvaluator {
     37  public class KnapsackEvaluator : InstrumentedOperator, IKnapsackEvaluator {
    3838    public ILookupParameter<DoubleValue> QualityParameter {
    3939      get { return (ILookupParameter<DoubleValue>)Parameters["Quality"]; }
     
    129129    }
    130130
    131     public sealed override IOperation Apply() {
     131    public sealed override IOperation InstrumentedApply() {
    132132      BinaryVector v = BinaryVectorParameter.ActualValue;
    133133
     
    143143      AppliedPenaltyParameter.ActualValue = evaluation.AppliedPenalty;
    144144
    145       return base.Apply();
     145      return base.InstrumentedApply();
    146146    }
    147147  }
Note: See TracChangeset for help on using the changeset viewer.