Changeset 4752 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/ZhuEncoding.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/Zhu/ZhuEncoding.cs
r4379 r4752 93 93 #endregion 94 94 95 public override IDeepCloneable Clone(HeuristicLab.Common.Cloner cloner) { 96 ZhuEncoding clone = new ZhuEncoding( 97 new Permutation(this.PermutationType, this.array), ProblemInstance); 98 99 cloner.RegisterClonedObject(this, clone); 100 clone.readOnly = readOnly; 101 return clone; 95 public ZhuEncoding(Permutation permutation, IVRPProblemInstance problemInstance) 96 : base(permutation, problemInstance) { 102 97 } 103 98 104 public ZhuEncoding(Permutation permutation, IVRPProblemInstance problemInstance) 105 : base(permutation, problemInstance) { 99 public override IDeepCloneable Clone(Cloner cloner) { 100 return new ZhuEncoding(this, cloner); 101 } 102 103 protected ZhuEncoding(ZhuEncoding original, Cloner cloner) 104 : base(original, cloner) { 106 105 } 107 106
Note: See TracChangeset
for help on using the changeset viewer.