- Timestamp:
- 01/07/14 11:14:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/Evaluators/KnapsackEvaluator.cs
r9456 r10291 35 35 [Item("KnapsackEvaluator", "Evaluates solutions for the Knapsack problem.")] 36 36 [StorableClass] 37 public class KnapsackEvaluator : SingleSuccessorOperator, IKnapsackEvaluator {37 public class KnapsackEvaluator : InstrumentedOperator, IKnapsackEvaluator { 38 38 public ILookupParameter<DoubleValue> QualityParameter { 39 39 get { return (ILookupParameter<DoubleValue>)Parameters["Quality"]; } … … 129 129 } 130 130 131 public sealed override IOperation Apply() {131 public sealed override IOperation InstrumentedApply() { 132 132 BinaryVector v = BinaryVectorParameter.ActualValue; 133 133 … … 143 143 AppliedPenaltyParameter.ActualValue = evaluation.AppliedPenalty; 144 144 145 return base. Apply();145 return base.InstrumentedApply(); 146 146 } 147 147 }
Note: See TracChangeset
for help on using the changeset viewer.