Changeset 14751 for branches/symbreg-factors-2650/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/Swap2Manipulator.cs
- Timestamp:
- 03/16/17 07:56:01 (8 years ago)
- Location:
- branches/symbreg-factors-2650
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650
-
branches/symbreg-factors-2650/HeuristicLab.Encodings.PermutationEncoding
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Encodings.PermutationEncoding merged: 14659-14660,14662
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/Swap2Manipulator.cs
r14185 r14751 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.