Changeset 8916 for branches/HeuristicLab.TreeSimplifier/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView.cs
- Timestamp:
- 11/16/12 14:30:54 (11 years ago)
- Location:
- branches/HeuristicLab.TreeSimplifier
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TreeSimplifier
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views 5700-5808
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/HeuristicLab.TreeSimplifier/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView.cs
r8636 r8916 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 22 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 23 25 24 26 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views { 25 27 public partial class InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView : InteractiveSymbolicClassificationSolutionSimplifierViewBase { 28 private readonly SymbolicDiscriminantFunctionClassificationSolutionImpactValuesCalculator calculator; 26 29 27 30 public new SymbolicDiscriminantFunctionClassificationSolution Content { … … 30 33 } 31 34 32 public InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView() : base() { } 35 public InteractiveSymbolicDiscriminantFunctionClassificationSolutionSimplifierView() 36 : base() { 37 InitializeComponent(); 38 this.Caption = "Interactive Classification Solution Simplifier"; 39 40 calculator = new SymbolicDiscriminantFunctionClassificationSolutionImpactValuesCalculator(); 41 } 33 42 34 43 protected override void UpdateModel(ISymbolicExpressionTree tree) { … … 37 46 Content.Model = (ISymbolicDiscriminantFunctionClassificationModel)model; 38 47 } 48 49 protected override Dictionary<ISymbolicExpressionTreeNode, double> CalculateReplacementValues(ISymbolicExpressionTree tree) { 50 return calculator.CalculateReplacementValues(tree, Content.Model.Interpreter, Content.ProblemData); 51 } 52 53 protected override Dictionary<ISymbolicExpressionTreeNode, double> CalculateImpactValues(ISymbolicExpressionTree tree) { 54 return calculator.CalculateImpactValues(tree, Content.Model.Interpreter, Content.ProblemData, 55 Content.Model.LowerEstimationLimit, Content.Model.UpperEstimationLimit); 56 } 57 58 protected override void btnOptimizeConstants_Click(object sender, EventArgs e) { 59 60 } 39 61 } 40 62 }
Note: See TracChangeset
for help on using the changeset viewer.