- Timestamp:
- 09/20/11 11:12:10 (13 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:ignore
-
old new 13 13 *.vsp 14 14 *.docstates 15 bin 16 HeuristicLab 3.3.6.0.ReSharper.user
-
- Property svn:mergeinfo changed
/branches/GP.Grammar.Editor (added) merged: 6284-6285,6296,6299,6335,6337,6377,6379,6387,6403,6409,6415,6493-6494,6497,6618,6620,6622,6626,6647,6675,6782,6784,6786,6795
- Property svn:ignore
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/SymbolicRegressionMultiObjectiveProblem.cs
r6754 r6803 66 66 MaximumSymbolicExpressionTreeLength.Value = InitialMaximumTreeLength; 67 67 68 SymbolicExpressionTreeGrammarParameter.ValueChanged += (o, e) => ConfigureGrammarSymbols(); 69 70 ConfigureGrammarSymbols(); 68 71 InitializeOperators(); 69 72 UpdateEstimationLimits(); 73 } 74 75 private void ConfigureGrammarSymbols() { 76 var grammar = SymbolicExpressionTreeGrammar as TypeCoherentExpressionGrammar; 77 if (grammar != null) grammar.ConfigureAsDefaultRegressionGrammar(); 70 78 } 71 79 -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveProblem.cs
r6754 r6803 62 62 MaximumSymbolicExpressionTreeLength.Value = InitialMaximumTreeLength; 63 63 64 SymbolicExpressionTreeGrammarParameter.ValueChanged += (o, e) => ConfigureGrammarSymbols(); 65 66 ConfigureGrammarSymbols(); 64 67 InitializeOperators(); 65 68 UpdateEstimationLimits(); 69 } 70 71 private void ConfigureGrammarSymbols() { 72 var grammar = SymbolicExpressionTreeGrammar as TypeCoherentExpressionGrammar; 73 if (grammar != null) grammar.ConfigureAsDefaultRegressionGrammar(); 66 74 } 67 75 -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionModel.cs
r6740 r6803 86 86 if (startNode.GetSubtree(0).Symbol is Addition) { 87 87 var addNode = startNode.GetSubtree(0); 88 if (addNode.Subtree sCount == 2 && addNode.GetSubtree(0).Symbol is Multiplication && addNode.GetSubtree(1).Symbol is Constant) {88 if (addNode.SubtreeCount == 2 && addNode.GetSubtree(0).Symbol is Multiplication && addNode.GetSubtree(1).Symbol is Constant) { 89 89 alphaTreeNode = addNode.GetSubtree(1) as ConstantTreeNode; 90 90 var mulNode = addNode.GetSubtree(0); 91 if (mulNode.Subtree sCount == 2 && mulNode.GetSubtree(1).Symbol is Constant) {91 if (mulNode.SubtreeCount == 2 && mulNode.GetSubtree(1).Symbol is Constant) { 92 92 betaTreeNode = mulNode.GetSubtree(1) as ConstantTreeNode; 93 93 }
Note: See TracChangeset
for help on using the changeset viewer.