- Timestamp:
- 03/05/14 14:48:13 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing
- Property svn:mergeinfo changed
-
branches/DataPreprocessing/HeuristicLab.Problems.ArtificialAnt/3.4/Evaluator.cs
r9456 r10538 32 32 [Item("ArtificialAntEvaluator", "Evaluates an artificial ant solution.")] 33 33 [StorableClass] 34 public class Evaluator : SingleSuccessorOperator, ISingleObjectiveEvaluator {34 public class Evaluator : InstrumentedOperator, ISingleObjectiveEvaluator { 35 35 36 36 public ILookupParameter<DoubleValue> QualityParameter { … … 60 60 } 61 61 62 public sealed override IOperation Apply() {62 public sealed override IOperation InstrumentedApply() { 63 63 SymbolicExpressionTree expression = SymbolicExpressionTreeParameter.ActualValue; 64 64 BoolMatrix world = WorldParameter.ActualValue; … … 72 72 73 73 QualityParameter.ActualValue = new DoubleValue(interpreter.FoodEaten); 74 return null;74 return base.InstrumentedApply(); 75 75 } 76 76 }
Note: See TracChangeset
for help on using the changeset viewer.