Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/15/17 14:25:44 (7 years ago)
Author:
abeham
Message:

#2457: merged trunk into branch

Location:
branches/PerformanceComparison/HeuristicLab.Algorithms.MemPR/3.3/LinearLinkage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/PerformanceComparison/HeuristicLab.Algorithms.MemPR/3.3/LinearLinkage/LinearLinkageMemPR.cs

    r14695 r15256  
    120120      var groupItems = new List<int>();
    121121      var lleb = current.ToBackLinks();
    122       Move bestOfTheRest = null;
     122      EMSSMove bestOfTheRest = null;
    123123      var bestOfTheRestF = double.NaN;
    124124      var lastAppliedMove = -1;
     
    161161            break;
    162162          } else {
    163             foreach (var move in MoveGenerator.GenerateForItem(i, groupItems, current, lleb)) {
     163            foreach (var move in ExhaustiveEMSSMoveGenerator.GenerateForItem(i, groupItems, current, lleb)) {
    164164              // we intend to break link i -> next
    165165              var qualityToBreak = tabu[i, next];
     
    289289      ISingleObjectiveSolutionScope<LinearLinkage> best = null;
    290290      while (true) {
    291         Move bestMove = null;
     291        EMSSMove bestMove = null;
    292292        var bestMoveQ = double.NaN;
    293293        // 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)) {
    295295          var distBefore = Dist(probe, b);
    296296          m.Apply(probe.Solution);
  • branches/PerformanceComparison/HeuristicLab.Algorithms.MemPR/3.3/LinearLinkage/LocalSearch/StaticAPI/ExhaustiveLocalSearch.cs

    r14552 r15256  
    4242        var groupItems = new List<int>();
    4343        for (var i = 0; i < solution.Length; i++) {
    44           foreach (var move in MoveGenerator.GenerateForItem(i, groupItems, solution, lleb).ToList()) {
     44          foreach (var move in ExhaustiveEMSSMoveGenerator.GenerateForItem(i, groupItems, solution, lleb).ToList()) {
    4545            move.Apply(solution);
    4646            var moveF = eval(solution, token);
Note: See TracChangeset for help on using the changeset viewer.