Changeset 5933 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding
- Timestamp:
- 04/02/11 23:13:33 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.PermutationEncoding
- Files:
-
- 1 added
- 5 edited
- 14 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding
-
Property
svn:mergeinfo
set to
/branches/QAP/HeuristicLab.Encodings.PermutationEncoding merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/HeuristicLab.Encodings.PermutationEncoding-3.3.csproj
r5163 r5933 118 118 <Compile Include="Crossovers\PositionBasedCrossover.cs" /> 119 119 <Compile Include="HeuristicLabEncodingsPermutationEncodingPlugin.cs" /> 120 <Compile Include="Interfaces\IPermutationSwap2MoveOperator.cs" /> 120 121 <Compile Include="Interfaces\IPermutationCreator.cs" /> 121 122 <Compile Include="Interfaces\IPermutationCrossover.cs" /> … … 133 134 <Compile Include="Manipulators\TranslocationInversionManipulator.cs" /> 134 135 <Compile Include="Manipulators\TranslocationManipulator.cs" /> 136 <Compile Include="Moves\Edge.cs" /> 135 137 <Compile Include="Moves\PermutationMoveAttribute.cs" /> 138 <Compile Include="Moves\StandardEdgeEqualityComparer.cs" /> 139 <Compile Include="Moves\Swap2\ExhaustiveSwap2MoveGenerator.cs" /> 140 <Compile Include="Moves\Swap2\StochasticSwap2MultiMoveGenerator.cs" /> 141 <Compile Include="Moves\Swap2\StochasticSwap2SingleMoveGenerator.cs" /> 142 <Compile Include="Moves\Swap2\Swap2Move.cs" /> 143 <Compile Include="Moves\Swap2\Swap2MoveAbsoluteAttribute.cs" /> 144 <Compile Include="Moves\Swap2\Swap2MoveGenerator.cs" /> 145 <Compile Include="Moves\Swap2\Swap2MoveHardTabuCriterion.cs" /> 146 <Compile Include="Moves\Swap2\Swap2MoveMaker.cs" /> 147 <Compile Include="Moves\Swap2\Swap2MoveRelativeAttribute.cs" /> 148 <Compile Include="Moves\Swap2\Swap2MoveSoftTabuCriterion.cs" /> 149 <Compile Include="Moves\Swap2\Swap2MoveTabuMaker.cs" /> 136 150 <Compile Include="Moves\ThreeIndexMove.cs" /> 137 151 <Compile Include="Moves\ThreeOpt\StochasticSingleInsertionMoveGenerator.cs" /> -
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/Swap2Manipulator.cs
r5445 r5933 49 49 /// <param name="permutation">The permutation to manipulate.</param> 50 50 public static void Apply(IRandom random, Permutation permutation) { 51 int index1, index2 , temp;51 int index1, index2; 52 52 53 53 index1 = random.Next(permutation.Length); 54 54 index2 = random.Next(permutation.Length); 55 55 56 temp = permutation[index1]; 56 Apply(permutation, index1, index2); 57 } 58 59 public static void Apply(Permutation permutation, int index1, int index2) { 60 int temp = permutation[index1]; 57 61 permutation[index1] = permutation[index2]; 58 62 permutation[index2] = temp; -
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeIndexMove.cs
r5445 r5933 25 25 26 26 namespace HeuristicLab.Encodings.PermutationEncoding { 27 [Item("ThreeIndexMove", "A move on a permutation that is specified by 3 indices ")]27 [Item("ThreeIndexMove", "A move on a permutation that is specified by 3 indices.")] 28 28 [StorableClass] 29 29 public class ThreeIndexMove : Item { -
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoIndexMove.cs
r5445 r5933 25 25 26 26 namespace HeuristicLab.Encodings.PermutationEncoding { 27 [Item("TwoIndexMove", "A move on a permutation that is specified by 2 indices ")]27 [Item("TwoIndexMove", "A move on a permutation that is specified by 2 indices.")] 28 28 [StorableClass] 29 29 public class TwoIndexMove : Item {
Note: See TracChangeset
for help on using the changeset viewer.