Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/13/10 20:05:19 (15 years ago)
Author:
gkronber
Message:

Changed execution order of analyzers (algorithm analyzers after problem analyzers) #893

Location:
trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs

    r3750 r3799  
    577577      IslandAnalyzer.Operators.Add(islandQualityAnalyzer);
    578578      IslandAnalyzer.Operators.Add(islandSelectionPressureAnalyzer);
    579       Analyzer.Operators.Add(qualityAnalyzer);
    580       Analyzer.Operators.Add(selectionPressureAnalyzer);
    581579      if (Problem != null) {
    582580        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     
    586584        }
    587585      }
     586      Analyzer.Operators.Add(qualityAnalyzer);
     587      Analyzer.Operators.Add(selectionPressureAnalyzer);
    588588    }
    589589    #endregion
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithm.cs

    r3750 r3799  
    426426    private void UpdateAnalyzers() {
    427427      Analyzer.Operators.Clear();
    428       Analyzer.Operators.Add(qualityAnalyzer);
    429       Analyzer.Operators.Add(selectionPressureAnalyzer);
    430428      if (Problem != null) {
    431429        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     
    435433        }
    436434      }
     435      Analyzer.Operators.Add(qualityAnalyzer);
     436      Analyzer.Operators.Add(selectionPressureAnalyzer);
    437437    }
    438438    #endregion
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/SASEGASA.cs

    r3750 r3799  
    515515      VillageAnalyzer.Operators.Add(villageQualityAnalyzer);
    516516      VillageAnalyzer.Operators.Add(villageSelectionPressureAnalyzer);
    517       Analyzer.Operators.Add(qualityAnalyzer);
    518       Analyzer.Operators.Add(selectionPressureAnalyzer);
    519517      if (Problem != null) {
    520518        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     
    524522        }
    525523      }
     524      Analyzer.Operators.Add(qualityAnalyzer);
     525      Analyzer.Operators.Add(selectionPressureAnalyzer);
    526526    }
    527527    #endregion
Note: See TracChangeset for help on using the changeset viewer.