Changeset 7906 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/TourEncoding.cs
- Timestamp:
- 05/25/12 11:32:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/TourEncoding.cs
r7543 r7906 115 115 : base(original, cloner) { 116 116 this.Tours = (ItemList<Tour>)cloner.Clone(original.Tours); 117 this.ProblemInstance = original.ProblemInstance; 117 if (original.ProblemInstance != null && cloner.ClonedObjectRegistered(original.ProblemInstance)) 118 this.ProblemInstance = (IVRPProblemInstance)cloner.Clone(original.ProblemInstance); 119 else 120 this.ProblemInstance = original.ProblemInstance; 118 121 } 119 122
Note: See TracChangeset
for help on using the changeset viewer.