Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8378


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

#1247: added offspring success analyzer

Location:
branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3/HeuristicLab.Algorithms.RAPGA-3.3.csproj

    r8377 r8378  
    9797  </ItemGroup>
    9898  <ItemGroup>
     99    <Compile Include="Analyzers\OffspringSuccessAnalyzer.cs" />
    99100    <Compile Include="Analyzers\PopulationSizeAnalyzer.cs" />
    100101    <Compile Include="DuplicatesSelector.cs" />
  • 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.