Changeset 4667 for branches/CloningRefactoring/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/InsertionManipulator.cs
- Timestamp:
- 10/29/10 17:37:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/InsertionManipulator.cs
r4477 r4667 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 using HeuristicLab.Common; 24 25 25 26 namespace HeuristicLab.Encodings.PermutationEncoding { … … 33 34 [StorableClass] 34 35 public class InsertionManipulator : PermutationManipulator { 36 [StorableConstructor] 37 protected InsertionManipulator(bool deserializing) : base(deserializing) { } 38 protected InsertionManipulator(InsertionManipulator original, Cloner cloner) : base(original, cloner) { } 39 public InsertionManipulator() : base() { } 40 41 public override IDeepCloneable Clone(Cloner cloner) { 42 return new InsertionManipulator(this, cloner); 43 } 44 35 45 /// <summary> 36 46 /// Moves an randomly chosen element in the specified <paramref name="permutation"/> array
Note: See TracChangeset
for help on using the changeset viewer.