- Timestamp:
- 06/08/20 19:45:09 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveEvaluator.cs
r17577 r17592 67 67 Evaluate(solutionContext, random, CancellationToken.None); 68 68 69 ScopeUtil.CopyToScope(ExecutionContext.Scope, solutionContext); 69 70 QualityParameter.ActualValue = new DoubleValue(solutionContext.EvaluationResult.Quality); 70 ScopeUtil.CopyToScope(ExecutionContext.Scope, solutionContext);71 71 72 72 return base.InstrumentedApply(); -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveImprover.cs
r17578 r17592 118 118 119 119 LocalEvaluatedSolutionsParameter.ActualValue = new IntValue(count); 120 QualityParameter.ActualValue = new DoubleValue(quality);121 120 ScopeUtil.CopyEncodedSolutionToScope(ExecutionContext.Scope, encoding, solutionContext.EncodedSolution); 122 121 ScopeUtil.CopyToScope(ExecutionContext.Scope, solutionContext); 122 QualityParameter.ActualValue = new DoubleValue(quality); 123 123 return base.Apply(); 124 124 } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveEvaluator.cs
r17577 r17592 76 76 var qualityValue = solutionContext.EvaluationResult.Quality; 77 77 78 ScopeUtil.CopyToScope(ExecutionContext.Scope, solutionContext); 78 79 MoveQualityParameter.ActualValue = new DoubleValue(qualityValue); 79 ScopeUtil.CopyToScope(ExecutionContext.Scope, solutionContext);80 80 return base.Apply(); 81 81 }
Note: See TracChangeset
for help on using the changeset viewer.