Changeset 12617 for trunk/sources/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveEvaluator.cs
- Timestamp:
- 07/06/15 18:24:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveEvaluator.cs
r12012 r12617 31 31 [Item("Multi-objective Evaluator", "Calls the Evaluate method of the problem definition and writes the return value into the scope.")] 32 32 [StorableClass] 33 public class MultiObjectiveEvaluator : SingleSuccessorOperator, IMultiObjectiveEvaluationOperator, IStochasticOperator {33 public class MultiObjectiveEvaluator : InstrumentedOperator, IMultiObjectiveEvaluationOperator, IStochasticOperator { 34 34 35 35 public ILookupParameter<IRandom> RandomParameter { … … 60 60 } 61 61 62 public override IOperation Apply() {62 public override IOperation InstrumentedApply() { 63 63 var random = RandomParameter.ActualValue; 64 64 var encoding = EncodingParameter.ActualValue; 65 65 var individual = encoding.GetIndividual(ExecutionContext.Scope); 66 66 QualitiesParameter.ActualValue = new DoubleArray(EvaluateFunc(individual, random)); 67 return base. Apply();67 return base.InstrumentedApply(); 68 68 } 69 69 }
Note: See TracChangeset
for help on using the changeset viewer.