Changeset 4752 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Prins/PrinsEncoding.cs
- Timestamp:
- 11/09/10 09:55:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Prins/PrinsEncoding.cs
r4379 r4752 132 132 } 133 133 #endregion 134 135 public override IDeepCloneable Clone(HeuristicLab.Common.Cloner cloner) {136 PrinsEncoding clone = new PrinsEncoding(137 new Permutation(this.PermutationType, this.array), ProblemInstance);138 139 cloner.RegisterClonedObject(this, clone);140 clone.readOnly = readOnly;141 return clone;142 }143 144 134 public PrinsEncoding(Permutation permutation, IVRPProblemInstance problemInstance) 145 135 : base(permutation, problemInstance) { … … 149 139 private PrinsEncoding(bool serializing) 150 140 : base(serializing) { 141 } 142 143 public override IDeepCloneable Clone(Cloner cloner) { 144 return new PrinsEncoding(this, cloner); 145 } 146 147 protected PrinsEncoding(PrinsEncoding original, Cloner cloner) 148 : base(original, cloner) { 151 149 } 152 150
Note: See TracChangeset
for help on using the changeset viewer.