Changeset 10285 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4
- Timestamp:
- 01/05/14 20:47:50 (11 years ago)
- 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 358 358 // add tracking analyzer 359 359 foreach (var op in operators.OfType<GenealogyAnalyzer<TGraph, TVertex, ISymbolicExpressionTree>>()) { 360 // get crossover parameter names 360 361 var crossover = operators.OfType<ISymbolicExpressionTreeCrossover>().First(); 361 362 op.CrossoverParentsParameterName = crossover.ParentsParameter.Name; 362 363 op.CrossoverChildParameterName = crossover.ChildParameter.Name; 364 // get munipulator parameter names 363 365 var manipulator = operators.OfType<ISymbolicExpressionTreeManipulator>().First(); 364 366 op.ManipulatorChildParameterName = manipulator.SymbolicExpressionTreeParameter.Name; 365 var creator = operators.OfType<ISymbolicExpressionTreeCreator>().First();366 op.SolutionCreatorIndividualParameterName = creator.SymbolicExpressionTreeParameter.Name;367 367 } 368 368 } -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisSingleObjectiveProblem.cs
r9456 r10285 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 using HeuristicLab.EvolutionTracking; 27 29 using HeuristicLab.Optimization; 28 30 using HeuristicLab.Parameters; 29 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 33 using TGraph = HeuristicLab.EvolutionTracking.IGenealogyGraph<HeuristicLab.EvolutionTracking.GenealogyGraphNode<HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.ISymbolicExpressionTree>, 34 HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.ISymbolicExpressionTree>; 35 using TVertex = HeuristicLab.EvolutionTracking.GenealogyGraphNode<HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.ISymbolicExpressionTree>; 30 36 31 37 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { … … 115 121 op.MaximizationParameter.ActualName = MaximizationParameterName; 116 122 } 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 } 117 128 } 118 129 }
Note: See TracChangeset
for help on using the changeset viewer.