Changeset 4703 for trunk/sources/HeuristicLab.Problems.TravelingSalesman
- Timestamp:
- 11/02/10 04:29:34 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/HeuristicLab.Problems.TravelingSalesman-3.3.csproj
r4623 r4703 107 107 <ItemGroup> 108 108 <Compile Include="Analyzers\BestTSPSolutionAnalyzer.cs" /> 109 <Compile Include="Analyzers\TSPPopulationDiversityAnalyzer.cs" /> 109 110 <Compile Include="Analyzers\TSPAlleleFrequencyAnalyzer.cs" /> 110 111 <Compile Include="Evaluators\TSPEuclideanPathEvaluator.cs" /> -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r4641 r4703 131 131 get { return operators.OfType<TSPAlleleFrequencyAnalyzer>().FirstOrDefault(); } 132 132 } 133 private TSPPopulationDiversityAnalyzer TSPPopulationDiversityAnalyzer { 134 get { return operators.OfType<TSPPopulationDiversityAnalyzer>().FirstOrDefault(); } 135 } 133 136 #endregion 134 137 … … 273 276 operators.Add(new BestTSPSolutionAnalyzer()); 274 277 operators.Add(new TSPAlleleFrequencyAnalyzer()); 278 operators.Add(new TSPPopulationDiversityAnalyzer()); 275 279 ParameterizeAnalyzers(); 276 280 operators.AddRange(ApplicationManager.Manager.GetInstances<IPermutationOperator>().Cast<IOperator>()); … … 332 336 TSPAlleleFrequencyAnalyzer.BestKnownSolutionParameter.ActualName = BestKnownSolutionParameter.Name; 333 337 TSPAlleleFrequencyAnalyzer.ResultsParameter.ActualName = "Results"; 338 } 339 340 if (TSPPopulationDiversityAnalyzer != null) { 341 TSPPopulationDiversityAnalyzer.MaximizationParameter.ActualName = MaximizationParameter.Name; 342 TSPPopulationDiversityAnalyzer.SolutionParameter.ActualName = SolutionCreator.PermutationParameter.ActualName; 343 TSPPopulationDiversityAnalyzer.QualityParameter.ActualName = Evaluator.QualityParameter.ActualName; 344 TSPPopulationDiversityAnalyzer.ResultsParameter.ActualName = "Results"; 334 345 } 335 346 }
Note: See TracChangeset
for help on using the changeset viewer.