Changeset 7789 for branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman
- Timestamp:
- 05/10/12 10:42:06 (13 years ago)
- Location:
- branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3
- Files:
-
- 8 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/HeuristicLab.Problems.TravelingSalesman-3.3.csproj
r7646 r7789 118 118 <Compile Include="Evaluators\TSPEuclideanPathEvaluator.cs" /> 119 119 <Compile Include="Evaluators\TSPGeoPathEvaluator.cs" /> 120 <Compile Include="Improvers\TSPImprovementOperator.cs" /> 120 121 <Compile Include="Interfaces\ITSPDistanceMatrixEvaluator.cs" /> 121 122 <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMoveEuclideanPathEvaluator.cs" /> … … 127 128 <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMovePathEvaluator.cs" /> 128 129 <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveRoundedEuclideanPathEvaluator.cs" /> 130 <Compile Include="PathRelinkers\TSPMultipleGuidesPathRelinker.cs" /> 131 <Compile Include="PathRelinkers\TSPPathRelinker.cs" /> 132 <Compile Include="PathRelinkers\TSPSimultaneousPathRelinker.cs" /> 129 133 <Compile Include="Plugin.cs" /> 134 <Compile Include="SimilarityCalculators\TSPSimilarityCalculator.cs" /> 130 135 <Compile Include="TravelingSalesmanProblem.cs" /> 131 136 <Compile Include="PathTSPTour.cs" /> … … 182 187 <Name>HeuristicLab.Operators-3.3</Name> 183 188 <Private>False</Private> 189 </ProjectReference> 190 <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj"> 191 <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project> 192 <Name>HeuristicLab.Optimization.Operators-3.3</Name> 184 193 </ProjectReference> 185 194 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj"> -
branches/ScatterSearch (trunk integration)/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r7658 r7789 29 29 using HeuristicLab.Encodings.PermutationEncoding; 30 30 using HeuristicLab.Optimization; 31 using HeuristicLab.Optimization.Operators; 31 32 using HeuristicLab.Parameters; 32 33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 222 223 223 224 private void InitializeOperators() { 225 Operators.Add(new TSPImprovementOperator()); 226 Operators.Add(new TSPMultipleGuidesPathRelinker()); 227 Operators.Add(new TSPPathRelinker()); 228 Operators.Add(new TSPSimultaneousPathRelinker()); 229 Operators.Add(new TSPSimilarityCalculator()); 230 224 231 Operators.Add(new BestTSPSolutionAnalyzer()); 225 232 Operators.Add(new TSPAlleleFrequencyAnalyzer()); … … 335 342 op.PermutationParameter.ActualName = SolutionCreator.PermutationParameter.ActualName; 336 343 op.PermutationParameter.Hidden = true; 344 } 345 foreach (IImprovementOperator op in Operators.OfType<IImprovementOperator>()) { 346 op.TargetParameter.ActualName = SolutionCreator.PermutationParameter.ActualName; 347 op.TargetParameter.Hidden = true; 348 } 349 foreach (IPathRelinker op in Operators.OfType<IPathRelinker>()) { 350 op.ParentsParameter.ActualName = SolutionCreator.PermutationParameter.ActualName; 351 op.ParentsParameter.Hidden = true; 352 } 353 foreach (ISimilarityCalculator op in Operators.OfType<ISimilarityCalculator>()) { 354 op.TargetParameter.ActualName = SolutionCreator.PermutationParameter.ActualName; 355 op.TargetParameter.Hidden = true; 337 356 } 338 357 }
Note: See TracChangeset
for help on using the changeset viewer.