- Timestamp:
- 01/07/14 11:14:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.OneMax/3.3/Evaluators/OneMaxEvaluator.cs
r9456 r10291 34 34 [Item("OneMaxEvaluator", "Evaluates solutions for the OneMax problem.")] 35 35 [StorableClass] 36 public class OneMaxEvaluator : SingleSuccessorOperator, IOneMaxEvaluator {36 public class OneMaxEvaluator : InstrumentedOperator, IOneMaxEvaluator { 37 37 public ILookupParameter<DoubleValue> QualityParameter { 38 38 get { return (ILookupParameter<DoubleValue>)Parameters["Quality"]; } … … 56 56 } 57 57 58 public sealed override IOperation Apply() {58 public sealed override IOperation InstrumentedApply() { 59 59 BinaryVector v = BinaryVectorParameter.ActualValue; 60 60 … … 67 67 QualityParameter.ActualValue = new DoubleValue(quality); 68 68 69 return base. Apply();69 return base.InstrumentedApply(); 70 70 } 71 71 }
Note: See TracChangeset
for help on using the changeset viewer.