Changeset 16152


Ignore:
Timestamp:
09/17/18 18:31:24 (13 months ago)
Author:
gkronber
Message:

#2925: removed obsolete comment and a statement introduced in r16126

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Problems.DynamicalSystemsModelling/3.3/Problem.cs

    r16126 r16152  
    210210      RegisterEventHandlers();
    211211      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
    212215    }
    213216
     
    424427      results["Prediction (test)"].Value = testList.AsReadOnly();
    425428
     429      #region simplification of models
     430      // TODO the dependency of HeuristicLab.Problems.DataAnalysis.Symbolic is not ideal
    426431      var modelList = new ItemList<ISymbolicExpressionTree>();
    427432      foreach (var tree in trees) {
     
    440445          parentNode.InsertSubtree(replacementIndex, replacementNode);
    441446        }
    442         // TODO: simplify trees
    443447
    444448        modelList.Add(shownTree);
    445449      }
    446450      results["Models"].Value = modelList.AsReadOnly();
     451      #endregion
    447452    }
    448453
     
    635640    private void OnProblemDataChanged() {
    636641      UpdateTargetVariables();        // implicitly updates other dependent parameters
    637       UpdateGrammarAndEncoding();
    638642      var handler = ProblemDataChanged;
    639643      if (handler != null) handler(this, EventArgs.Empty);
Note: See TracChangeset for help on using the changeset viewer.