Changeset 4752 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/PermutationEncoding.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/PermutationEncoding.cs
r4365 r4752 40 40 protected IVRPProblemInstance ProblemInstance { get; set; } 41 41 42 public override IDeepCloneable Clone(Cloner cloner) { 43 PermutationEncoding clone = (PermutationEncoding)base.Clone(cloner); 44 45 clone.ProblemInstance = (IVRPProblemInstance)cloner.Clone(ProblemInstance); 46 47 return clone; 42 protected PermutationEncoding(PermutationEncoding original, Cloner cloner) 43 : base(original, cloner) { 44 this.ProblemInstance = (IVRPProblemInstance)cloner.Clone(original.ProblemInstance); 45 this.readOnly = original.readOnly; 48 46 } 49 47
Note: See TracChangeset
for help on using the changeset viewer.