Changeset 3232 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveAttribute.cs
- Timestamp:
- 03/29/10 18:49:55 (14 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveAttribute.cs
r3231 r3232 24 24 25 25 namespace HeuristicLab.Encodings.PermutationEncoding { 26 [Item("T hreeOptTabuMoveAttribute", "Specifies the tabu attributes for a 3-opt move.")]26 [Item("TranslocationMoveAttribute", "Specifies the tabu attributes for a translocation and insertion move (3-opt).")] 27 27 [StorableClass] 28 public class T hreeOptTabuMoveAttribute : Item {28 public class TranslocationMoveAttribute : Item { 29 29 [Storable] 30 30 public int Edge1Source { get; private set; } … … 41 41 42 42 [StorableConstructor] 43 private T hreeOptTabuMoveAttribute(bool deserializing)43 private TranslocationMoveAttribute(bool deserializing) 44 44 : base() { 45 45 } 46 46 47 public T hreeOptTabuMoveAttribute()47 public TranslocationMoveAttribute() 48 48 : this(-1, -1, -1, -1, -1, -1) { } 49 49 50 public T hreeOptTabuMoveAttribute(int edge1Source, int edge1Target, int edge2Source, int edge2Target, int edge3Source, int edge3Target)50 public TranslocationMoveAttribute(int edge1Source, int edge1Target, int edge2Source, int edge2Target, int edge3Source, int edge3Target) 51 51 : base() { 52 52 Edge1Source = edge1Source; … … 59 59 60 60 public override IDeepCloneable Clone(Cloner cloner) { 61 T hreeOptTabuMoveAttribute clone = (ThreeOptTabuMoveAttribute)base.Clone(cloner);61 TranslocationMoveAttribute clone = (TranslocationMoveAttribute)base.Clone(cloner); 62 62 clone.Edge1Source = Edge1Source; 63 63 clone.Edge1Target = Edge1Target;
Note: See TracChangeset
for help on using the changeset viewer.