Changeset 15256 for branches/PerformanceComparison/HeuristicLab.Algorithms.MemPR/3.3/LinearLinkage/LinearLinkageMemPR.cs
- Timestamp:
- 07/15/17 14:25:44 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PerformanceComparison/HeuristicLab.Algorithms.MemPR/3.3/LinearLinkage/LinearLinkageMemPR.cs
r14695 r15256 120 120 var groupItems = new List<int>(); 121 121 var lleb = current.ToBackLinks(); 122 Move bestOfTheRest = null;122 EMSSMove bestOfTheRest = null; 123 123 var bestOfTheRestF = double.NaN; 124 124 var lastAppliedMove = -1; … … 161 161 break; 162 162 } else { 163 foreach (var move in MoveGenerator.GenerateForItem(i, groupItems, current, lleb)) {163 foreach (var move in ExhaustiveEMSSMoveGenerator.GenerateForItem(i, groupItems, current, lleb)) { 164 164 // we intend to break link i -> next 165 165 var qualityToBreak = tabu[i, next]; … … 289 289 ISingleObjectiveSolutionScope<LinearLinkage> best = null; 290 290 while (true) { 291 Move bestMove = null;291 EMSSMove bestMove = null; 292 292 var bestMoveQ = double.NaN; 293 293 // this approach may not fully relink the two solutions 294 foreach (var m in MoveGenerator.Generate(probe.Solution)) {294 foreach (var m in ExhaustiveEMSSMoveGenerator.Generate(probe.Solution)) { 295 295 var distBefore = Dist(probe, b); 296 296 m.Apply(probe.Solution);
Note: See TracChangeset
for help on using the changeset viewer.