Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/14 20:47:50 (11 years ago)
Author:
bburlacu
Message:

#1772: Added SymbolicDataAnalysisGenealogyView, updated generic analyzer and operators.

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

Legend:

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

    r10278 r10285  
    358358      // add tracking analyzer
    359359      foreach (var op in operators.OfType<GenealogyAnalyzer<TGraph, TVertex, ISymbolicExpressionTree>>()) {
     360        // get crossover parameter names
    360361        var crossover = operators.OfType<ISymbolicExpressionTreeCrossover>().First();
    361362        op.CrossoverParentsParameterName = crossover.ParentsParameter.Name;
    362363        op.CrossoverChildParameterName = crossover.ChildParameter.Name;
     364        // get munipulator parameter names
    363365        var manipulator = operators.OfType<ISymbolicExpressionTreeManipulator>().First();
    364366        op.ManipulatorChildParameterName = manipulator.SymbolicExpressionTreeParameter.Name;
    365         var creator = operators.OfType<ISymbolicExpressionTreeCreator>().First();
    366         op.SolutionCreatorIndividualParameterName = creator.SymbolicExpressionTreeParameter.Name;
    367367      }
    368368    }
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisSingleObjectiveProblem.cs

    r9456 r10285  
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Data;
     27using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     28using HeuristicLab.EvolutionTracking;
    2729using HeuristicLab.Optimization;
    2830using HeuristicLab.Parameters;
    2931using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32
     33using TGraph = HeuristicLab.EvolutionTracking.IGenealogyGraph<HeuristicLab.EvolutionTracking.GenealogyGraphNode<HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.ISymbolicExpressionTree>,
     34                                                              HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.ISymbolicExpressionTree>;
     35using TVertex = HeuristicLab.EvolutionTracking.GenealogyGraphNode<HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.ISymbolicExpressionTree>;
    3036
    3137namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
     
    115121        op.MaximizationParameter.ActualName = MaximizationParameterName;
    116122      }
     123
     124      foreach (var op in Operators.OfType<GenealogyAnalyzer<TGraph, TVertex, ISymbolicExpressionTree>>()) {
     125        op.QualityParameter.ActualName = Evaluator.QualityParameter.ActualName;
     126        op.PopulationParameter.ActualName = Evaluator.SymbolicExpressionTreeParameter.ActualName;
     127      }
    117128    }
    118129  }
Note: See TracChangeset for help on using the changeset viewer.