Changeset 6387 for branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification
- Timestamp:
- 06/08/11 10:42:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicDiscriminantFunctionClassificationModel.cs
r6234 r6387 130 130 if (startNode.GetSubtree(0).Symbol is Addition) { 131 131 var addNode = startNode.GetSubtree(0); 132 if (addNode.Subtree sCount == 2 && addNode.GetSubtree(0).Symbol is Multiplication && addNode.GetSubtree(1).Symbol is Constant) {132 if (addNode.SubtreeCount == 2 && addNode.GetSubtree(0).Symbol is Multiplication && addNode.GetSubtree(1).Symbol is Constant) { 133 133 alphaTreeNode = addNode.GetSubtree(1) as ConstantTreeNode; 134 134 var mulNode = addNode.GetSubtree(0); 135 if (mulNode.Subtree sCount == 2 && mulNode.GetSubtree(1).Symbol is Constant) {135 if (mulNode.SubtreeCount == 2 && mulNode.GetSubtree(1).Symbol is Constant) { 136 136 betaTreeNode = mulNode.GetSubtree(1) as ConstantTreeNode; 137 137 }
Note: See TracChangeset
for help on using the changeset viewer.