Changeset 16152 for branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/Problem.cs
- Timestamp:
- 09/17/18 18:31:24 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/Problem.cs
r16126 r16152 210 210 RegisterEventHandlers(); 211 211 InitAllParameters(); 212 213 // TODO: do not clear selection of target variables when the input variables are changed 214 // TODO: UI hangs when selecting / deselecting input variables because the encoding is updated on each item 212 215 } 213 216 … … 424 427 results["Prediction (test)"].Value = testList.AsReadOnly(); 425 428 429 #region simplification of models 430 // TODO the dependency of HeuristicLab.Problems.DataAnalysis.Symbolic is not ideal 426 431 var modelList = new ItemList<ISymbolicExpressionTree>(); 427 432 foreach (var tree in trees) { … … 440 445 parentNode.InsertSubtree(replacementIndex, replacementNode); 441 446 } 442 // TODO: simplify trees443 447 444 448 modelList.Add(shownTree); 445 449 } 446 450 results["Models"].Value = modelList.AsReadOnly(); 451 #endregion 447 452 } 448 453 … … 635 640 private void OnProblemDataChanged() { 636 641 UpdateTargetVariables(); // implicitly updates other dependent parameters 637 UpdateGrammarAndEncoding();638 642 var handler = ProblemDataChanged; 639 643 if (handler != null) handler(this, EventArgs.Empty);
Note: See TracChangeset
for help on using the changeset viewer.