Changeset 10830 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic
- Timestamp:
- 05/09/14 15:11:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
r10822 r10830 355 355 // add tracking analyzer 356 356 foreach (var op in operators.OfType<SymbolicDataAnalysisGenealogyAnalyzer>()) { 357 op.BeforeCrossoverOperator = new SymbolicDataAnalysisExpressionBeforeCrossoverOperator();358 op.AfterCrossoverOperator = new SymbolicDataAnalysisExpressionAfterCrossoverOperator();359 op.BeforeManipulatorOperator = new SymbolicDataAnalysisExpressionBeforeManipulatorOperator();360 op.AfterManipulatorOperator = new SymbolicDataAnalysisExpressionAfterManipulatorOperator();357 op.BeforeCrossoverOperatorParameter.ActualValue = new SymbolicDataAnalysisExpressionBeforeCrossoverOperator(); 358 op.AfterCrossoverOperatorParameter.ActualValue = new SymbolicDataAnalysisExpressionAfterCrossoverOperator(); 359 op.BeforeManipulatorOperatorParameter.ActualValue = new SymbolicDataAnalysisExpressionBeforeManipulatorOperator(); 360 op.AfterManipulatorOperatorParameter.ActualValue = new SymbolicDataAnalysisExpressionAfterManipulatorOperator(); 361 361 // get crossover parameter names 362 362 var crossover = operators.OfType<ISymbolicExpressionTreeCrossover>().FirstOrDefault(); 363 363 if (crossover != null) { 364 op.CrossoverParentsParameterName = crossover.ParentsParameter.Name; 365 op.CrossoverChildParameterName = crossover.ChildParameter.Name; 366 } 367 // get munipulator parameter names 364 op.BeforeCrossoverOperator.ParentsParameter.ActualName = crossover.ParentsParameter.Name; 365 op.AfterCrossoverOperator.ParentsParameter.ActualName = crossover.ParentsParameter.Name; 366 op.BeforeCrossoverOperator.ChildParameter.ActualName = crossover.ChildParameter.Name; 367 op.AfterCrossoverOperator.ChildParameter.ActualName = crossover.ChildParameter.Name; 368 } 369 // get manipulator parameter names 368 370 var manipulator = operators.OfType<ISymbolicExpressionTreeManipulator>().FirstOrDefault(); 369 371 if (manipulator != null) { 370 op. ManipulatorChildParameterName = manipulator.SymbolicExpressionTreeParameter.Name;372 op.BeforeManipulatorOperator.ChildParameter.ActualName = manipulator.SymbolicExpressionTreeParameter.Name; 371 373 } 372 374 var creator = operators.OfType<ISymbolicExpressionTreeCreator>().FirstOrDefault();
Note: See TracChangeset
for help on using the changeset viewer.