- Timestamp:
- 05/21/12 14:32:32 (13 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Manipulators/MultiVRPSolutionManipulator.cs
r6716 r7855 84 84 foreach (IOperator op in operators) { 85 85 if (op is IVRPManipulator && !(op is MultiVRPSolutionManipulator)) { 86 Operators.Add(op.Clone() as IVRPManipulator, true);86 Operators.Add(op.Clone() as IVRPManipulator, !(op is IVRPLocalSearchManipulator)); 87 87 } 88 88 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/PermutationEncoding.cs
r6851 r7855 36 36 public abstract List<Tour> GetTours(); 37 37 38 public int GetTourIndex(Tour tour) {38 public virtual int GetTourIndex(Tour tour) { 39 39 int index = -1; 40 40 -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/ShakingOperators/VehicleRoutingShakingOperator.cs
r6093 r7855 71 71 72 72 foreach (IVRPManipulator shaker in ApplicationManager.Manager.GetInstances<IVRPManipulator>().OrderBy(x => x.Name)) 73 if (!(shaker is MultiVRPSolutionManipulator)) Operators.Add(shaker );73 if (!(shaker is MultiVRPSolutionManipulator)) Operators.Add(shaker, !(shaker is IVRPLocalSearchManipulator)); 74 74 } 75 75
Note: See TracChangeset
for help on using the changeset viewer.