Changeset 14664 for branches/PerformanceComparison/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/Swap2Manipulator.cs
- Timestamp:
- 02/11/17 01:01:25 (7 years ago)
- Location:
- branches/PerformanceComparison/HeuristicLab.Encodings.PermutationEncoding
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PerformanceComparison/HeuristicLab.Encodings.PermutationEncoding
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Encodings.PermutationEncoding merged: 14662
- Property svn:mergeinfo changed
-
branches/PerformanceComparison/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/Swap2Manipulator.cs
r14600 r14664 58 58 59 59 public static void Apply(Permutation permutation, int index1, int index2) { 60 int temp = permutation[index1]; 61 permutation[index1] = permutation[index2]; 62 permutation[index2] = temp; 60 permutation.Swap(index1, index2); 63 61 } 64 62
Note: See TracChangeset
for help on using the changeset viewer.