Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/PathRelinkers/VRPPathRelinker.cs
- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/PathRelinkers/VRPPathRelinker.cs
r14185 r14927 29 29 using HeuristicLab.Optimization.Operators; 30 30 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;31 using HeuristicLab.Persistence; 32 32 using HeuristicLab.Problems.VehicleRouting.Encodings.Potvin; 33 33 using HeuristicLab.Problems.VehicleRouting.Interfaces; … … 40 40 /// </summary> 41 41 [Item("VRPPathRelinker", "An operator which relinks paths between VRP solutions.")] 42 [Storable Class]42 [StorableType("d8a2168a-10ac-4a17-b8ab-0b2617092dde")] 43 43 public sealed class VRPPathRelinker : SingleObjectivePathRelinker, IGeneralVRPOperator, IStochasticOperator { 44 44 #region Parameter properties … … 102 102 int neighborhood = rand.Next(3); 103 103 switch (neighborhood) { 104 case 0: next = RouteBasedXOver(next, guide, rand, 105 problemInstance); 104 case 0: 105 next = RouteBasedXOver(next, guide, rand, 106 problemInstance); 106 107 break; 107 case 1: next = SequenceBasedXOver(next, guide, rand, 108 problemInstance); 108 case 1: 109 next = SequenceBasedXOver(next, guide, rand, 110 problemInstance); 109 111 break; 110 case 2: GuidedRelocateMove(next, guide, rand); 112 case 2: 113 GuidedRelocateMove(next, guide, rand); 111 114 break; 112 115 }
Note: See TracChangeset
for help on using the changeset viewer.