Changeset 8319 for branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/PathRelinkers/TSPMultipleGuidesPathRelinker.cs
- Timestamp:
- 07/24/12 15:04:37 (12 years ago)
- File:
-
- 1 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 }
Note: See TracChangeset
for help on using the changeset viewer.