- Timestamp:
- 04/26/10 15:47:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/SymbolicRegressionProblem.cs
r3532 r3534 38 38 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Crossovers; 39 39 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Creators; 40 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Interfaces; 40 41 41 42 namespace HeuristicLab.Problems.DataAnalysis.Regression.Symbolic { … … 194 195 195 196 creator.SymbolicExpressionTreeParameter.ActualName = "SymbolicRegressionModel"; 196 creator.MaxFunctionArgumentsParameter.ActualName = "MaxFunctionArguments";197 creator.MaxFunctionDefinitionsParameter.ActualName = "MaxFunctionDefiningBranches";197 creator.MaxFunctionArgumentsParameter.ActualName = MaxFunctionArgumentsParameter.Name; 198 creator.MaxFunctionDefinitionsParameter.ActualName = MaxFunctionDefiningBranchesParameter.Name; 198 199 DataAnalysisProblemDataParameter.ValueChanged += new EventHandler(DataAnalysisProblemDataParameter_ValueChanged); 199 200 DataAnalysisProblemData.ProblemDataChanged += new EventHandler(DataAnalysisProblemData_Changed); … … 373 374 op.RegressionProblemDataParameter.ActualName = DataAnalysisProblemDataParameter.Name; 374 375 } 375 foreach ( SymbolicExpressionTreeCrossover op in Operators.OfType<SymbolicExpressionTreeCrossover>()) {376 foreach (ISymbolicExpressionTreeCrossover op in Operators.OfType<ISymbolicExpressionTreeCrossover>()) { 376 377 op.ParentsParameter.ActualName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName; 377 378 op.ChildParameter.ActualName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName; 378 379 } 379 foreach ( SymbolicExpressionTreeManipulator op in Operators.OfType<SymbolicExpressionTreeManipulator>()) {380 foreach (ISymbolicExpressionTreeManipulator op in Operators.OfType<ISymbolicExpressionTreeManipulator>()) { 380 381 op.SymbolicExpressionTreeParameter.ActualName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName; 381 382 } 382 foreach (SymbolicExpressionTreeArchitectureAlteringOperator op in Operators.OfType<SymbolicExpressionTreeArchitectureAlteringOperator>()) { 383 foreach (ISymbolicExpressionTreeArchitectureManipulator op in Operators.OfType<ISymbolicExpressionTreeArchitectureManipulator>()) { 384 op.MaxFunctionArgumentsParameter.ActualName = MaxFunctionArgumentsParameter.Name; 385 op.MaxFunctionDefinitionsParameter.ActualName = MaxFunctionDefiningBranchesParameter.Name; 383 386 } 384 387 }
Note: See TracChangeset
for help on using the changeset viewer.