Changeset 10507 for stable/HeuristicLab.Problems.Knapsack/3.3/Evaluators
- Timestamp:
- 02/25/14 14:00:47 (11 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 10149,10231,10261,10291-10292,10295,10298
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Knapsack/3.3/Evaluators/KnapsackEvaluator.cs
r9456 r10507 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.