Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/15 12:11:09 (9 years ago)
Author:
bburlacu
Message:

#1772: Merged trunk changes.

Location:
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic

  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs

    r11928 r12155  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2323using System.Drawing;
    2424using System.Linq;
    25 using HeuristicLab.Analysis;
    2625using HeuristicLab.Common;
    2726using HeuristicLab.Common.Resources;
     
    3029using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    3130using HeuristicLab.Optimization;
    32 using HeuristicLab.Optimization.Operators;
    3331using HeuristicLab.Parameters;
    3432using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3533using HeuristicLab.PluginInfrastructure;
    36 using HeuristicLab.Problems.DataAnalysis.Symbolic.Analyzers;
    3734using HeuristicLab.Problems.Instances;
    3835
     
    234231      Operators.Add(new MinAverageMaxSymbolicExpressionTreeLengthAnalyzer());
    235232      Operators.Add(new SymbolicExpressionTreeLengthAnalyzer());
    236       Operators.Add(new SingleObjectivePopulationDiversityAnalyzer());
    237       Operators.Add(new SymbolicDataAnalysisPhenotypicDiversityAnalyzer());
    238       Operators.Add(new SymbolicDataAnalysisBottomUpDiversityAnalyzer());
     233      Operators.Add(new SymbolicExpressionTreeBottomUpSimilarityCalculator());
     234      Operators.Add(new SymbolicDataAnalysisBottomUpDiversityAnalyzer(Operators.OfType<SymbolicExpressionTreeBottomUpSimilarityCalculator>().First()));
    239235      Operators.Add(new SymbolicDataAnalysisGenealogyAnalyzer());
    240236      ParameterizeOperators();
     
    356352        op.RelativeNumberOfEvaluatedSamplesParameter.ActualName = RelativeNumberOfEvaluatedSamplesParameter.Name;
    357353        op.EvaluatorParameter.ActualName = EvaluatorParameter.Name;
    358       }
    359       foreach (var op in operators.OfType<SingleObjectiveSolutionSimilarityCalculator>()) {
    360         op.QualityVariableName = "Quality";
    361         op.SolutionVariableName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName;
    362       }
    363       foreach (var op in operators.OfType<SingleObjectivePopulationDiversityAnalyzer>()) {
    364         op.SimilarityCalculator = new SymbolicExpressionTreeBottomUpSimilarityCalculator();
    365354      }
    366355      // add tracking analyzer
Note: See TracChangeset for help on using the changeset viewer.