Changeset 17366 for branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveEvaluator.cs
- Timestamp:
- 11/22/19 15:54:31 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveEvaluator.cs
r17363 r17366 21 21 22 22 using System; 23 using System.Threading; 23 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; … … 50 51 } 51 52 52 public Action<ISingleObjectiveSolutionContext<TEncodedSolution>, IRandom > Evaluate { get; set; }53 public Action<ISingleObjectiveSolutionContext<TEncodedSolution>, IRandom, CancellationToken> Evaluate { get; set; } 53 54 54 55 [StorableConstructor] … … 72 73 var solutionContext = new SingleObjectiveSolutionContextScope<TEncodedSolution>(ExecutionContext.Scope, solution); 73 74 74 Evaluate(solutionContext, random );75 Evaluate(solutionContext, random, CancellationToken.None); 75 76 var qualityValue = solutionContext.EvaluationResult.Quality; 76 77
Note: See TracChangeset
for help on using the changeset viewer.