Changeset 12380 for branches/PTSP/HeuristicLab.Problems.PTSP/3.3/Improvers
- Timestamp:
- 05/04/15 18:30:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/Improvers/PTSPExhaustiveInversionLocalImprovement.cs
r12228 r12380 107 107 double evaluations = 0.0; 108 108 foreach (var move in ExhaustiveInversionMoveGenerator.Generate(assignment)) { 109 double moveQuality = PTSPEstimatedInversion MovePathEvaluator.EvaluateByDistanceMatrix(assignment, move, distanceM, realizations);109 double moveQuality = PTSPEstimatedInversionEvaluator.EvaluateByDistanceMatrix(assignment, move, distanceM, realizations); 110 110 evaluations += 2 * (move.Index2 - move.Index1 + 1) / (double)assignment.Length; 111 111 if (maximization && moveQuality > bestQuality
Note: See TracChangeset
for help on using the changeset viewer.