Changeset 4696 for branches/CloningRefactoring/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Potvin
- Timestamp:
- 10/31/10 11:36:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Potvin/PotvinEncoding.cs
r4691 r4696 34 34 public List<int> Unrouted { get; set; } 35 35 36 public PotvinEncoding() 37 : base() { 38 Unrouted = new List<int>(); 39 } 36 [StorableConstructor] 37 protected PotvinEncoding(bool deserializing) : base(deserializing) { } 40 38 protected PotvinEncoding(PotvinEncoding original, Cloner cloner) 41 39 : base(original, cloner) { … … 43 41 Unrouted = new List<int>(original.Unrouted); 44 42 } 43 public PotvinEncoding() 44 : base() { 45 Unrouted = new List<int>(); 46 } 47 45 48 public override IDeepCloneable Clone(Cloner cloner) { 46 49 return new PotvinEncoding(this, cloner); 47 }48 [StorableConstructor]49 private PotvinEncoding(bool serializing)50 : base() {51 50 } 52 51
Note: See TracChangeset
for help on using the changeset viewer.