Changeset 10507 for stable/HeuristicLab.Problems.ArtificialAnt
- 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.ArtificialAnt/3.4/Evaluator.cs
r9456 r10507 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.