- Timestamp:
- 07/25/11 16:54:15 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationSolution.cs
r6411 r6589 63 63 Add(new Result(ModelLengthResultName, "Length of the symbolic classification model.", new IntValue())); 64 64 Add(new Result(ModelDepthResultName, "Depth of the symbolic classification model.", new IntValue())); 65 CalculateResults();65 RecalculateResults(); 66 66 } 67 67 … … 71 71 72 72 protected override void RecalculateResults() { 73 base.RecalculateResults();74 CalculateResults();75 }76 77 private void CalculateResults() {78 73 ModelLength = Model.SymbolicExpressionTree.Length; 79 74 ModelDepth = Model.SymbolicExpressionTree.Depth; 75 CalculateResults(); 80 76 } 81 77 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicDiscriminantFunctionClassificationSolution.cs
r6411 r6589 66 66 Add(new Result(ModelLengthResultName, "Length of the symbolic classification model.", new IntValue())); 67 67 Add(new Result(ModelDepthResultName, "Depth of the symbolic classification model.", new IntValue())); 68 CalculateResults();68 RecalculateResults(); 69 69 } 70 70 … … 74 74 75 75 protected override void RecalculateResults() { 76 base.RecalculateResults();77 76 CalculateResults(); 78 } 79 80 private void CalculateResults() { 77 CalculateRegressionResults(); 81 78 ModelLength = Model.SymbolicExpressionTree.Length; 82 79 ModelDepth = Model.SymbolicExpressionTree.Depth; 83 80 } 81 84 82 } 85 83 }
Note: See TracChangeset
for help on using the changeset viewer.