Changeset 4752 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/TourEncoding.cs
- Timestamp:
- 11/09/10 09:55:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/TourEncoding.cs
r4376 r4752 82 82 } 83 83 84 protected TourEncoding(TourEncoding original, Cloner cloner) 85 : base(original, cloner) { 86 this.Tours = (ItemList<Tour>)cloner.Clone(original.Tours); 87 this.ProblemInstance = (IVRPProblemInstance)cloner.Clone(original.ProblemInstance); 88 } 89 84 90 public static void ConvertFrom(IVRPEncoding encoding, TourEncoding solution, IVRPProblemInstance problemInstance) { 85 91 solution.Tours = new ItemList<Tour>(encoding.GetTours());
Note: See TracChangeset
for help on using the changeset viewer.