Changeset 6411 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicDiscriminantFunctionClassificationSolution.cs
- Timestamp:
- 06/14/11 14:00:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicDiscriminantFunctionClassificationSolution.cs
r5975 r6411 20 20 #endregion 21 21 22 using System;23 22 using HeuristicLab.Common; 24 23 using HeuristicLab.Core; … … 67 66 Add(new Result(ModelLengthResultName, "Length of the symbolic classification model.", new IntValue())); 68 67 Add(new Result(ModelDepthResultName, "Depth of the symbolic classification model.", new IntValue())); 69 RecalculateResults();68 CalculateResults(); 70 69 } 71 70 … … 74 73 } 75 74 76 protected override void OnModelChanged(EventArgs e) {77 base. OnModelChanged(e);78 RecalculateResults();75 protected override void RecalculateResults() { 76 base.RecalculateResults(); 77 CalculateResults(); 79 78 } 80 79 81 private new void RecalculateResults() {80 private void CalculateResults() { 82 81 ModelLength = Model.SymbolicExpressionTree.Length; 83 82 ModelDepth = Model.SymbolicExpressionTree.Depth;
Note: See TracChangeset
for help on using the changeset viewer.