Changeset 17320 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.PTSP/3.3/AnalyticalPTSP.cs
- Timestamp:
- 10/04/19 17:31:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.PTSP/3.3/AnalyticalPTSP.cs
r17264 r17320 20 20 #endregion 21 21 22 using System.Threading; 22 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; … … 59 60 } 60 61 61 public override double Evaluate(Permutation tour, IRandom random ) {62 return Evaluate(tour, ProbabilisticTSPData );62 public override double Evaluate(Permutation tour, IRandom random, CancellationToken cancellationToken) { 63 return Evaluate(tour, ProbabilisticTSPData, cancellationToken); 63 64 } 64 65 65 public static double Evaluate(Permutation tour, IProbabilisticTSPData data ) {66 public static double Evaluate(Permutation tour, IProbabilisticTSPData data, CancellationToken cancellationToken) { 66 67 // Analytical evaluation 67 68 var firstSum = 0.0;
Note: See TracChangeset
for help on using the changeset viewer.