Changeset 4722 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/ExhaustiveInversionMoveGenerator.cs
- Timestamp:
- 11/06/10 01:56:04 (13 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/ExhaustiveInversionMoveGenerator.cs
r4068 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Optimization; … … 29 30 [StorableClass] 30 31 public class ExhaustiveInversionMoveGenerator : InversionMoveGenerator, IExhaustiveMoveGenerator { 32 [StorableConstructor] 33 protected ExhaustiveInversionMoveGenerator(bool deserializing) : base(deserializing) { } 34 protected ExhaustiveInversionMoveGenerator(ExhaustiveInversionMoveGenerator original, Cloner cloner) : base(original, cloner) { } 35 public ExhaustiveInversionMoveGenerator() : base() { } 36 37 public override IDeepCloneable Clone(Cloner cloner) { 38 return new ExhaustiveInversionMoveGenerator(this, cloner); 39 } 40 31 41 public static InversionMove[] Apply(Permutation permutation) { 32 42 int length = permutation.Length;
Note: See TracChangeset
for help on using the changeset viewer.