Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/InteractiveSymbolicRegressionSolutionSimplifierView.cs
r17180 r17378 44 44 } 45 45 46 protected override void UpdateView() { 47 base.UpdateView(); 48 var tree = Content?.Model?.SymbolicExpressionTree; 49 btnOptimizeConstants.Enabled = tree != null && SymbolicRegressionConstantOptimizationEvaluator.CanOptimizeConstants(tree); 50 } 51 46 52 protected override ISymbolicExpressionTree OptimizeConstants(ISymbolicExpressionTree tree, IProgress progress) { 47 53 const int constOptIterations = 50; -
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicDataAnalysisSolutionSimplifierView.cs
r17377 r17378 186 186 } 187 187 188 pr ivateasync void UpdateView() {188 protected virtual async void UpdateView() { 189 189 if (Content == null || Content.Model == null || Content.ProblemData == null) return; 190 190 var tree = Content.Model.SymbolicExpressionTree;
Note: See TracChangeset
for help on using the changeset viewer.