Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/24/12 15:04:37 (12 years ago)
Author:
jkarder
Message:

#1331:

  • applied some of the changes suggested by ascheibe in comment:32:ticket:1331
  • restructured path relinking and improvement operators and similarity calculators
  • fixed bug in TSPMultipleGuidesPathRelinker
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers/TSPMultipleGuidesPathRelinker.cs

    r8086 r8319  
    3535  /// An operator that relinks paths between traveling salesman solutions using a multiple guiding strategy.
    3636  /// </summary>
     37  /// <remarks>
     38  /// The operator incrementally changes the initiating solution towards the guiding solution by correcting edges as needed. For each city it choses the best edge from all guiding solutions.
     39  /// </remarks>
    3740  [Item("TSPMultipleGuidesPathRelinker", "An operator that relinks paths between traveling salesman solutions using a multiple guiding strategy.")]
    3841  [StorableClass]
    39   public sealed class TSPMultipleGuidesPathRelinker : PathRelinker {
     42  public sealed class TSPMultipleGuidesPathRelinker : SingleObjectivePathRelinker {
    4043    #region Parameter properties
    4144    public ILookupParameter<DistanceMatrix> DistanceMatrixParameter {
     
    9396          }
    9497        });
    95         Invert(v1, i, bestCityIndex);
     98        Invert(v1, currCityIndex + 1, bestCityIndex);
    9699        solutions.Add(v1.Clone() as Permutation);
    97100      }
Note: See TracChangeset for help on using the changeset viewer.