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
Location:
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers
Files:
3 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      }
  • branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers/TSPPathRelinker.cs

    r7789 r8319  
    3434  /// An operator that relinks paths between traveling salesman solutions.
    3535  /// </summary>
     36  /// <remarks>
     37  /// The operator incrementally assimilates the initiating solution into the guiding solution by correcting edges as needed.
     38  /// </remarks>
    3639  [Item("TSPPathRelinker", "An operator that relinks paths between traveling salesman solutions.")]
    3740  [StorableClass]
    38   public sealed class TSPPathRelinker : PathRelinker {
     41  public sealed class TSPPathRelinker : SingleObjectivePathRelinker {
    3942    [StorableConstructor]
    4043    private TSPPathRelinker(bool deserializing) : base(deserializing) { }
  • branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers/TSPSimultaneousPathRelinker.cs

    r7789 r8319  
    3434  /// An operator that relinks paths between traveling salesman solutions starting from both ends.
    3535  /// </summary>
     36  /// <remarks>
     37  /// The operator incrementally assimilates the initiating solution into the guiding solution and vice versa by correcting edges as needed.
     38  /// </remarks>
    3639  [Item("TSPSimultaneousPathRelinker", "An operator that relinks paths between traveling salesman solutions starting from both ends.")]
    3740  [StorableClass]
    38   public sealed class TSPSimultaneousPathRelinker : PathRelinker {
     41  public sealed class TSPSimultaneousPathRelinker : SingleObjectivePathRelinker {
    3942    [StorableConstructor]
    4043    private TSPSimultaneousPathRelinker(bool deserializing) : base(deserializing) { }
Note: See TracChangeset for help on using the changeset viewer.