Changeset 3206 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding
- Timestamp:
- 03/23/10 21:22:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/TwoOptTabuMoveAttribute.cs
r3074 r3206 37 37 38 38 [StorableConstructor] 39 private TwoOptTabuMoveAttribute( )39 private TwoOptTabuMoveAttribute(bool deserializing) 40 40 : base() { 41 41 } 42 43 public TwoOptTabuMoveAttribute() 44 : this(-1, -1, -1, -1) { } 42 45 43 46 public TwoOptTabuMoveAttribute(int edge1Source, int edge1Target, int edge2Source, int edge2Target) … … 48 51 Edge2Target = edge2Target; 49 52 } 53 54 public override IDeepCloneable Clone(Cloner cloner) { 55 TwoOptTabuMoveAttribute clone = (TwoOptTabuMoveAttribute)base.Clone(cloner); 56 clone.Edge1Source = Edge1Source; 57 clone.Edge1Target = Edge1Target; 58 clone.Edge2Source = Edge2Source; 59 clone.Edge2Target = Edge2Target; 60 return clone; 61 } 50 62 } 51 63 }
Note: See TracChangeset
for help on using the changeset viewer.