- Timestamp:
- 05/10/12 10:42:06 (13 years ago)
- Location:
- branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.Knapsack/3.3
- Files:
-
- 8 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.Knapsack/3.3/HeuristicLab.Problems.Knapsack-3.3.csproj
r6866 r7789 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\KnapsackMultipleGuidesPathRelinker.cs" /> 119 <Compile Include="PathRelinkers\KnapsackPathRelinker.cs" /> 120 <Compile Include="PathRelinkers\KnapsackSimultaneousPathRelinker.cs" /> 117 121 <Compile Include="Plugin.cs" /> 118 122 <Compile Include="Properties\AssemblyInfo.cs" /> 119 123 <Compile Include="Analyzers\BestKnapsackSolutionAnalyzer.cs" /> 124 <Compile Include="SimilarityCalculators\KnapsackSimilarityCalculator.cs" /> 120 125 </ItemGroup> 121 126 <ItemGroup> … … 159 164 <Name>HeuristicLab.Operators-3.3</Name> 160 165 <Private>False</Private> 166 </ProjectReference> 167 <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj"> 168 <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project> 169 <Name>HeuristicLab.Optimization.Operators-3.3</Name> 161 170 </ProjectReference> 162 171 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj"> … … 198 207 </BootstrapperPackage> 199 208 </ItemGroup> 209 <ItemGroup /> 200 210 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 201 211 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r7351 r7789 28 28 using HeuristicLab.Encodings.BinaryVectorEncoding; 29 29 using HeuristicLab.Optimization; 30 using HeuristicLab.Optimization.Operators; 30 31 using HeuristicLab.Parameters; 31 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 244 245 } 245 246 private void InitializeOperators() { 247 Operators.Add(new KnapsackImprovementOperator()); 248 Operators.Add(new KnapsackMultipleGuidesPathRelinker()); 249 Operators.Add(new KnapsackPathRelinker()); 250 Operators.Add(new KnapsackSimultaneousPathRelinker()); 251 Operators.Add(new KnapsackSimilarityCalculator()); 252 246 253 Operators.Add(new BestKnapsackSolutionAnalyzer()); 247 254 ParameterizeAnalyzer(); … … 290 297 op.BinaryVectorParameter.Hidden = true; 291 298 } 299 foreach (IImprovementOperator op in Operators.OfType<IImprovementOperator>()) { 300 op.TargetParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName; 301 op.TargetParameter.Hidden = true; 302 } 303 foreach (IPathRelinker op in Operators.OfType<IPathRelinker>()) { 304 op.ParentsParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName; 305 op.ParentsParameter.Hidden = true; 306 } 307 foreach (ISimilarityCalculator op in Operators.OfType<ISimilarityCalculator>()) { 308 op.TargetParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName; 309 op.TargetParameter.Hidden = true; 310 } 292 311 } 293 312 #endregion
Note: See TracChangeset
for help on using the changeset viewer.