Changeset 6411 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationSolution.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/SymbolicClassificationSolution.cs
r5809 r6411 20 20 #endregion 21 21 22 using System.Collections.Generic;23 using System.Linq;24 22 using HeuristicLab.Common; 25 23 using HeuristicLab.Core; 26 24 using HeuristicLab.Data; 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 28 using HeuristicLab.Operators; 29 using HeuristicLab.Parameters; 25 using HeuristicLab.Optimization; 30 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 using HeuristicLab.Optimization;32 using System;33 27 34 28 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification { … … 69 63 Add(new Result(ModelLengthResultName, "Length of the symbolic classification model.", new IntValue())); 70 64 Add(new Result(ModelDepthResultName, "Depth of the symbolic classification model.", new IntValue())); 71 RecalculateResults();65 CalculateResults(); 72 66 } 73 67 … … 76 70 } 77 71 78 protected override void OnModelChanged(EventArgs e) {79 base. OnModelChanged(e);80 RecalculateResults();72 protected override void RecalculateResults() { 73 base.RecalculateResults(); 74 CalculateResults(); 81 75 } 82 76 83 private new void RecalculateResults() {77 private void CalculateResults() { 84 78 ModelLength = Model.SymbolicExpressionTree.Length; 85 79 ModelDepth = Model.SymbolicExpressionTree.Depth;
Note: See TracChangeset
for help on using the changeset viewer.