Changeset 3799 for trunk/sources
- Timestamp:
- 05/13/10 20:05:19 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs
r3750 r3799 341 341 private void UpdateAnalyzers() { 342 342 Analyzer.Operators.Clear(); 343 Analyzer.Operators.Add(qualityAnalyzer);344 343 if (Problem != null) { 345 344 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) { … … 349 348 } 350 349 } 350 Analyzer.Operators.Add(qualityAnalyzer); 351 351 } 352 352 #endregion -
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r3750 r3799 465 465 Analyzer.Operators.Clear(); 466 466 IslandAnalyzer.Operators.Add(islandQualityAnalyzer); 467 Analyzer.Operators.Add(qualityAnalyzer);468 467 if (Problem != null) { 469 468 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) { … … 473 472 } 474 473 } 474 Analyzer.Operators.Add(qualityAnalyzer); 475 475 } 476 476 #endregion -
trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs
r3750 r3799 577 577 IslandAnalyzer.Operators.Add(islandQualityAnalyzer); 578 578 IslandAnalyzer.Operators.Add(islandSelectionPressureAnalyzer); 579 Analyzer.Operators.Add(qualityAnalyzer);580 Analyzer.Operators.Add(selectionPressureAnalyzer);581 579 if (Problem != null) { 582 580 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) { … … 586 584 } 587 585 } 586 Analyzer.Operators.Add(qualityAnalyzer); 587 Analyzer.Operators.Add(selectionPressureAnalyzer); 588 588 } 589 589 #endregion -
trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithm.cs
r3750 r3799 426 426 private void UpdateAnalyzers() { 427 427 Analyzer.Operators.Clear(); 428 Analyzer.Operators.Add(qualityAnalyzer);429 Analyzer.Operators.Add(selectionPressureAnalyzer);430 428 if (Problem != null) { 431 429 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) { … … 435 433 } 436 434 } 435 Analyzer.Operators.Add(qualityAnalyzer); 436 Analyzer.Operators.Add(selectionPressureAnalyzer); 437 437 } 438 438 #endregion -
trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/SASEGASA.cs
r3750 r3799 515 515 VillageAnalyzer.Operators.Add(villageQualityAnalyzer); 516 516 VillageAnalyzer.Operators.Add(villageSelectionPressureAnalyzer); 517 Analyzer.Operators.Add(qualityAnalyzer);518 Analyzer.Operators.Add(selectionPressureAnalyzer);519 517 if (Problem != null) { 520 518 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) { … … 524 522 } 525 523 } 524 Analyzer.Operators.Add(qualityAnalyzer); 525 Analyzer.Operators.Add(selectionPressureAnalyzer); 526 526 } 527 527 #endregion -
trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimization.cs
r3724 r3799 262 262 private void UpdateAnalyzers() { 263 263 Analyzer.Operators.Clear(); 264 Analyzer.Operators.Add(qualityAnalyzer);265 264 if (Problem != null) { 266 265 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) 267 266 Analyzer.Operators.Add(analyzer); 268 267 } 268 Analyzer.Operators.Add(qualityAnalyzer); 269 269 } 270 270 -
trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealing.cs
r3750 r3799 400 400 private void UpdateAnalyzers() { 401 401 Analyzer.Operators.Clear(); 402 Analyzer.Operators.Add(qualityAnalyzer);403 402 if (Problem != null) { 404 403 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) { … … 408 407 } 409 408 } 409 Analyzer.Operators.Add(qualityAnalyzer); 410 410 } 411 411 #endregion
Note: See TracChangeset
for help on using the changeset viewer.