Changeset 8660 for branches/GP-MoveOperators/HeuristicLab.Problems.Knapsack
- Timestamp:
- 09/14/12 18:58:15 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 5 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GP-MoveOperators/HeuristicLab.Problems.Knapsack/3.3/HeuristicLab.Problems.Knapsack-3.3.csproj
r6866 r8660 109 109 <ItemGroup> 110 110 <Compile Include="Evaluators\KnapsackEvaluator.cs" /> 111 <Compile Include="Improvers\KnapsackImprovementOperator.cs" /> 111 112 <Compile Include="Interfaces\IKnapsackEvaluator.cs" /> 112 113 <Compile Include="Interfaces\IKnapsackMoveEvaluator.cs" /> … … 115 116 <Compile Include="MoveEvaluators\KnapsackMoveEvaluator.cs" /> 116 117 <Compile Include="MoveEvaluators\KnapsackOneBitflipMoveEvaluator.cs" /> 118 <Compile Include="PathRelinkers\KnapsackPathRelinker.cs" /> 119 <Compile Include="PathRelinkers\KnapsackSimultaneousPathRelinker.cs" /> 117 120 <Compile Include="Plugin.cs" /> 118 121 <Compile Include="Properties\AssemblyInfo.cs" /> 119 122 <Compile Include="Analyzers\BestKnapsackSolutionAnalyzer.cs" /> 123 <Compile Include="SimilarityCalculators\KnapsackSimilarityCalculator.cs" /> 120 124 </ItemGroup> 121 125 <ItemGroup> … … 159 163 <Name>HeuristicLab.Operators-3.3</Name> 160 164 <Private>False</Private> 165 </ProjectReference> 166 <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj"> 167 <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project> 168 <Name>HeuristicLab.Optimization.Operators-3.3</Name> 161 169 </ProjectReference> 162 170 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj"> … … 198 206 </BootstrapperPackage> 199 207 </ItemGroup> 208 <ItemGroup /> 200 209 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 201 210 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. … … 207 216 --> 208 217 <PropertyGroup> 209 <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)218 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 210 219 set ProjectDir=$(ProjectDir) 211 220 set SolutionDir=$(SolutionDir) … … 214 223 call PreBuildEvent.cmd 215 224 </PreBuildEvent> 225 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 226 export ProjectDir=$(ProjectDir) 227 export SolutionDir=$(SolutionDir) 228 229 $SolutionDir/PreBuildEvent.sh 230 </PreBuildEvent> 216 231 </PropertyGroup> 217 232 </Project> -
branches/GP-MoveOperators/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r7351 r8660 244 244 } 245 245 private void InitializeOperators() { 246 Operators.Add(new KnapsackImprovementOperator()); 247 Operators.Add(new KnapsackPathRelinker()); 248 Operators.Add(new KnapsackSimultaneousPathRelinker()); 249 Operators.Add(new KnapsackSimilarityCalculator()); 250 246 251 Operators.Add(new BestKnapsackSolutionAnalyzer()); 247 252 ParameterizeAnalyzer(); … … 286 291 op.ValuesParameter.Hidden = true; 287 292 } 288 foreach ( var op in Operators.OfType<IBinaryVectorMultiNeighborhoodShakingOperator>()) {293 foreach (IBinaryVectorMultiNeighborhoodShakingOperator op in Operators.OfType<IBinaryVectorMultiNeighborhoodShakingOperator>()) { 289 294 op.BinaryVectorParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName; 290 295 op.BinaryVectorParameter.Hidden = true; 296 } 297 foreach (ISingleObjectiveImprovementOperator op in Operators.OfType<ISingleObjectiveImprovementOperator>()) { 298 op.SolutionParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName; 299 op.SolutionParameter.Hidden = true; 300 } 301 foreach (ISingleObjectivePathRelinker op in Operators.OfType<ISingleObjectivePathRelinker>()) { 302 op.ParentsParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName; 303 op.ParentsParameter.Hidden = true; 304 } 305 foreach (KnapsackSimilarityCalculator op in Operators.OfType<KnapsackSimilarityCalculator>()) { 306 op.SolutionVariableName = SolutionCreator.BinaryVectorParameter.ActualName; 307 op.QualityVariableName = Evaluator.QualityParameter.ActualName; 291 308 } 292 309 } -
branches/GP-MoveOperators/HeuristicLab.Problems.Knapsack/3.3/Plugin.cs.frame
r7259 r8660 26 26 /// Plugin class for HeuristicLab.Problems.Knapsack plugin 27 27 /// </summary> 28 [Plugin("HeuristicLab.Problems.Knapsack", "3.3. 6.$WCREV$")]28 [Plugin("HeuristicLab.Problems.Knapsack", "3.3.7.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Problems.Knapsack-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Collections", "3.3")] … … 36 36 [PluginDependency("HeuristicLab.Operators", "3.3")] 37 37 [PluginDependency("HeuristicLab.Optimization", "3.3")] 38 [PluginDependency("HeuristicLab.Optimization.Operators", "3.3")] 38 39 [PluginDependency("HeuristicLab.Parameters", "3.3")] 39 40 [PluginDependency("HeuristicLab.Persistence", "3.3")] -
branches/GP-MoveOperators/HeuristicLab.Problems.Knapsack/3.3/Properties/AssemblyInfo.cs.frame
r7259 r8660 53 53 // by using the '*' as shown below: 54 54 [assembly: AssemblyVersion("3.3.0.0")] 55 [assembly: AssemblyFileVersion("3.3. 6.$WCREV$")]55 [assembly: AssemblyFileVersion("3.3.7.$WCREV$")]
Note: See TracChangeset
for help on using the changeset viewer.