Changeset 10483 for branches/LogResidualEvaluator/HeuristicLab.Problems.Knapsack/3.3/Evaluators/KnapsackEvaluator.cs
- Timestamp:
- 02/20/14 14:56:39 (11 years ago)
- Location:
- branches/LogResidualEvaluator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LogResidualEvaluator
- Property svn:mergeinfo changed
-
branches/LogResidualEvaluator/HeuristicLab.Problems.Knapsack/3.3/Evaluators/KnapsackEvaluator.cs
r9456 r10483 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.