Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/01/12 17:20:46 (12 years ago)
Author:
jkarder
Message:

#1247: added offspring success analyzer

File:
1 edited

Legend:

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

    r8377 r8378  
    183183    [Storable]
    184184    private PopulationSizeAnalyzer populationSizeAnalyzer;
     185    [Storable]
     186    private OffspringSuccessAnalyzer offspringSuccessAnalyzer;
    185187    #endregion
    186188
     
    193195      qualityAnalyzer = cloner.Clone(original.qualityAnalyzer);
    194196      populationSizeAnalyzer = cloner.Clone(original.populationSizeAnalyzer);
     197      offspringSuccessAnalyzer = cloner.Clone(original.offspringSuccessAnalyzer);
    195198      Initialize();
    196199    }
     
    259262      qualityAnalyzer = new BestAverageWorstQualityAnalyzer();
    260263      populationSizeAnalyzer = new PopulationSizeAnalyzer();
     264      offspringSuccessAnalyzer = new OffspringSuccessAnalyzer();
    261265      ParameterizeAnalyzers();
    262266      UpdateAnalyzers();
     
    395399      populationSizeAnalyzer.ResultsParameter.ActualName = "Results";
    396400      populationSizeAnalyzer.ResultsParameter.Hidden = true;
     401      offspringSuccessAnalyzer.ResultsParameter.ActualName = "Results";
     402      offspringSuccessAnalyzer.ResultsParameter.Hidden = true;
    397403      if (Problem != null) {
    398404        qualityAnalyzer.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name;
     
    452458      Analyzer.Operators.Add(qualityAnalyzer, qualityAnalyzer.EnabledByDefault);
    453459      Analyzer.Operators.Add(populationSizeAnalyzer, populationSizeAnalyzer.EnabledByDefault);
     460      Analyzer.Operators.Add(offspringSuccessAnalyzer, offspringSuccessAnalyzer.EnabledByDefault);
    454461    }
    455462    private void UpdateSimilarityCalculators() {
Note: See TracChangeset for help on using the changeset viewer.