Changeset 6415 for branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression
- Timestamp:
- 06/15/11 23:02:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionSolution.cs
r6387 r6415 20 20 #endregion 21 21 22 using System;23 22 using HeuristicLab.Common; 24 23 using HeuristicLab.Core; … … 63 62 Add(new Result(ModelLengthResultName, "Length of the symbolic regression model.", new IntValue())); 64 63 Add(new Result(ModelDepthResultName, "Depth of the symbolic regression model.", new IntValue())); 65 RecalculateResults();64 CalculateResults(); 66 65 } 67 66 … … 70 69 } 71 70 72 protected override void OnModelChanged(EventArgs e) {73 RecalculateResults();74 base.OnModelChanged(e);71 protected override void RecalculateResults() { 72 base.RecalculateResults(); 73 CalculateResults(); 75 74 } 76 75 77 pr otected new void RecalculateResults() {76 private void CalculateResults() { 78 77 ModelLength = Model.SymbolicExpressionTree.Length; 79 78 ModelDepth = Model.SymbolicExpressionTree.Depth;
Note: See TracChangeset
for help on using the changeset viewer.