Changeset 17320 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
- Timestamp:
- 10/04/19 17:31:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r17270 r17320 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Threading; 25 26 using HEAL.Attic; 26 27 using HeuristicLab.Analysis; … … 96 97 } 97 98 98 public override double Evaluate(BinaryVector solution, IRandom random ) {99 public override double Evaluate(BinaryVector solution, IRandom random, CancellationToken cancellationToken) { 99 100 var totalWeight = 0.0; 100 101 var totalValue = 0.0;
Note: See TracChangeset
for help on using the changeset viewer.