Changeset 3662 for trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm
- Timestamp:
- 05/06/10 02:46:37 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs
r3658 r3662 140 140 get { return selectors; } 141 141 } 142 private PopulationBestAverageWorstQualityAnalyzer qualityAnalyzer;142 private BestAverageWorstQualityAnalyzer qualityAnalyzer; 143 143 #endregion 144 144 … … 291 291 } 292 292 private void InitializeAnalyzers() { 293 qualityAnalyzer = new PopulationBestAverageWorstQualityAnalyzer();293 qualityAnalyzer = new BestAverageWorstQualityAnalyzer(); 294 294 ParameterizeAnalyzers(); 295 295 } … … 312 312 qualityAnalyzer.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name; 313 313 qualityAnalyzer.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName; 314 qualityAnalyzer.QualityParameter.Depth = 1; 314 315 qualityAnalyzer.BestKnownQualityParameter.ActualName = Problem.BestKnownQualityParameter.Name; 315 316 } … … 353 354 Analyzer.Operators.Add(qualityAnalyzer); 354 355 if (Problem != null) { 355 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) 356 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) { 356 357 Analyzer.Operators.Add(analyzer); 358 } 357 359 } 358 360 } -
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r3658 r3662 204 204 get { return (IslandGeneticAlgorithmMainLoop)IslandProcessor.Successor; } 205 205 } 206 private PopulationBestAverageWorstQualityAnalyzer islandQualityAnalyzer;206 private BestAverageWorstQualityAnalyzer islandQualityAnalyzer; 207 207 //private MultipopulationBestAverageWorstQualityAnalyzer qualityAnalyzer; 208 208 #endregion … … 398 398 } 399 399 private void InitializeAnalyzers() { 400 islandQualityAnalyzer = new PopulationBestAverageWorstQualityAnalyzer();400 islandQualityAnalyzer = new BestAverageWorstQualityAnalyzer(); 401 401 //qualityAnalyzer = new MultipopulationBestAverageWorstQualityAnalyzer(); 402 402 ParameterizeAnalyzers();
Note: See TracChangeset
for help on using the changeset viewer.