Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/02/12 13:22:47 (12 years ago)
Author:
jkarder
Message:

#1247:

  • added operator that evaluates expressions
  • added selection pressure analyzer
  • fixed bug in counting of evaluated solutions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3/RAPGA.cs

    r8378 r8385  
    185185    [Storable]
    186186    private OffspringSuccessAnalyzer offspringSuccessAnalyzer;
     187    [Storable]
     188    private SelectionPressureAnalyzer selectionPressureAnalyzer;
    187189    #endregion
    188190
     
    196198      populationSizeAnalyzer = cloner.Clone(original.populationSizeAnalyzer);
    197199      offspringSuccessAnalyzer = cloner.Clone(original.offspringSuccessAnalyzer);
     200      selectionPressureAnalyzer = cloner.Clone(original.selectionPressureAnalyzer);
    198201      Initialize();
    199202    }
     
    263266      populationSizeAnalyzer = new PopulationSizeAnalyzer();
    264267      offspringSuccessAnalyzer = new OffspringSuccessAnalyzer();
     268      selectionPressureAnalyzer = new SelectionPressureAnalyzer();
    265269      ParameterizeAnalyzers();
    266270      UpdateAnalyzers();
     
    401405      offspringSuccessAnalyzer.ResultsParameter.ActualName = "Results";
    402406      offspringSuccessAnalyzer.ResultsParameter.Hidden = true;
     407      selectionPressureAnalyzer.ResultsParameter.ActualName = "Results";
     408      selectionPressureAnalyzer.ResultsParameter.Hidden = true;
    403409      if (Problem != null) {
    404410        qualityAnalyzer.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name;
     
    459465      Analyzer.Operators.Add(populationSizeAnalyzer, populationSizeAnalyzer.EnabledByDefault);
    460466      Analyzer.Operators.Add(offspringSuccessAnalyzer, offspringSuccessAnalyzer.EnabledByDefault);
     467      Analyzer.Operators.Add(selectionPressureAnalyzer, selectionPressureAnalyzer.EnabledByDefault);
    461468    }
    462469    private void UpdateSimilarityCalculators() {
Note: See TracChangeset for help on using the changeset viewer.