Changeset 10507 for stable/HeuristicLab.Problems.LawnMower
- 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.LawnMower/3.3/Evaluator.cs
r9456 r10507 32 32 [StorableClass] 33 33 [Item("Lawn Mower Evaluator", "Evaluator for the lawn mower demo GP problem.")] 34 public class Evaluator : SingleSuccessorOperator, ISingleObjectiveEvaluator {34 public class Evaluator : InstrumentedOperator, ISingleObjectiveEvaluator { 35 35 36 36 private const string QualityParameterName = "Quality"; … … 72 72 return new Evaluator(this, cloner); 73 73 } 74 public override IOperation Apply() {74 public override IOperation InstrumentedApply() { 75 75 int length = LawnLengthParameter.ActualValue.Value; 76 76 int width = LawnWidthParameter.ActualValue.Value; … … 88 88 89 89 QualityParameter.ActualValue = new DoubleValue(numberOfMowedCells); 90 return base. Apply();90 return base.InstrumentedApply(); 91 91 } 92 92 }
Note: See TracChangeset
for help on using the changeset viewer.