Changeset 10462 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic
- Timestamp:
- 02/19/14 08:25:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
r10459 r10462 356 356 // add tracking analyzer 357 357 foreach (var op in operators.OfType<SymbolicDataAnalysisGenealogyAnalyzer>()) { 358 // op.BeforeCrossoverOperator = new SymbolicDataAnalysisExpressionBeforeCrossoverOperator(); 359 // op.AfterCrossoverOperator = new SymbolicDataAnalysisExpressionAfterCrossoverOperator(); 360 op.BeforeCrossoverOperator = new BeforeCrossoverOperator<ISymbolicExpressionTree>(); 361 op.AfterCrossoverOperator = new AfterCrossoverOperator<ISymbolicExpressionTree>(); 358 op.BeforeCrossoverOperator = new SymbolicDataAnalysisExpressionBeforeCrossoverOperator(); 359 op.AfterCrossoverOperator = new SymbolicDataAnalysisExpressionAfterCrossoverOperator(); 362 360 op.BeforeManipulatorOperator = new BeforeManipulatorOperator<ISymbolicExpressionTree>(); 363 361 op.AfterManipulatorOperator = new AfterManipulatorOperator<ISymbolicExpressionTree>(); … … 373 371 op.ManipulatorChildParameterName = manipulator.SymbolicExpressionTreeParameter.Name; 374 372 } 375 op.PopulationParameter.ActualName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName; 373 var creator = operators.OfType<ISymbolicExpressionTreeCreator>().FirstOrDefault(); 374 if (creator != null) { 375 op.PopulationParameter.ActualName = creator.SymbolicExpressionTreeParameter.ActualName; 376 } 376 377 } 377 378 }
Note: See TracChangeset
for help on using the changeset viewer.