Changeset 8319 for branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers
- Timestamp:
- 07/24/12 15:04:37 (12 years ago)
- 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 35 35 /// An operator that relinks paths between traveling salesman solutions using a multiple guiding strategy. 36 36 /// </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> 37 40 [Item("TSPMultipleGuidesPathRelinker", "An operator that relinks paths between traveling salesman solutions using a multiple guiding strategy.")] 38 41 [StorableClass] 39 public sealed class TSPMultipleGuidesPathRelinker : PathRelinker {42 public sealed class TSPMultipleGuidesPathRelinker : SingleObjectivePathRelinker { 40 43 #region Parameter properties 41 44 public ILookupParameter<DistanceMatrix> DistanceMatrixParameter { … … 93 96 } 94 97 }); 95 Invert(v1, i, bestCityIndex);98 Invert(v1, currCityIndex + 1, bestCityIndex); 96 99 solutions.Add(v1.Clone() as Permutation); 97 100 } -
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers/TSPPathRelinker.cs
r7789 r8319 34 34 /// An operator that relinks paths between traveling salesman solutions. 35 35 /// </summary> 36 /// <remarks> 37 /// The operator incrementally assimilates the initiating solution into the guiding solution by correcting edges as needed. 38 /// </remarks> 36 39 [Item("TSPPathRelinker", "An operator that relinks paths between traveling salesman solutions.")] 37 40 [StorableClass] 38 public sealed class TSPPathRelinker : PathRelinker {41 public sealed class TSPPathRelinker : SingleObjectivePathRelinker { 39 42 [StorableConstructor] 40 43 private TSPPathRelinker(bool deserializing) : base(deserializing) { } -
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers/TSPSimultaneousPathRelinker.cs
r7789 r8319 34 34 /// An operator that relinks paths between traveling salesman solutions starting from both ends. 35 35 /// </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> 36 39 [Item("TSPSimultaneousPathRelinker", "An operator that relinks paths between traveling salesman solutions starting from both ends.")] 37 40 [StorableClass] 38 public sealed class TSPSimultaneousPathRelinker : PathRelinker {41 public sealed class TSPSimultaneousPathRelinker : SingleObjectivePathRelinker { 39 42 [StorableConstructor] 40 43 private TSPSimultaneousPathRelinker(bool deserializing) : base(deserializing) { }
Note: See TracChangeset
for help on using the changeset viewer.