Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/06/10 16:03:30 (15 years ago)
Author:
abeham
Message:

#999

  • updated Island OSGA, SASEGASA
  • minor changes to Island GA and OSGA
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs

    r3671 r3673  
    438438    private void ParameterizeAnalyzers() {
    439439      islandQualityAnalyzer.ResultsParameter.ActualName = "Results";
    440       foreach (IScopeTreeLookupParameter param in ((IAnalyzer)islandQualityAnalyzer).Parameters.OfType<IScopeTreeLookupParameter>())
    441           param.Depth = 1;
     440      islandQualityAnalyzer.QualityParameter.Depth = 1;
    442441      qualityAnalyzer.ResultsParameter.ActualName = "Results";
    443       foreach (IScopeTreeLookupParameter param in ((IAnalyzer)qualityAnalyzer).Parameters.OfType<IScopeTreeLookupParameter>())
    444         param.Depth = 2;
     442      qualityAnalyzer.QualityParameter.Depth = 2;
     443
    445444      if (Problem != null) {
    446445        islandQualityAnalyzer.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name;
Note: See TracChangeset for help on using the changeset viewer.