Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/21/10 22:46:12 (14 years ago)
Author:
gkronber
Message:

minor bug fixes #937 (Data types and operators for symbolic expression tree encoding)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/SymbolicRegressionProblem.cs

    r3462 r3480  
    190190
    191191    void DataAnalysisProblemData_Changed(object sender, EventArgs e) {
     192      UpdateGrammar();
     193      UpdatePartitioningParameters();
     194    }
     195
     196    private void UpdateGrammar() {
    192197      foreach (var varSymbol in FunctionTreeGrammar.Symbols.OfType<HeuristicLab.Problems.DataAnalysis.Symbolic.Symbols.Variable>()) {
    193198        varSymbol.VariableNames = DataAnalysisProblemData.InputVariables.Select(x => x.Value);
    194199      }
    195       UpdatePartitioningParameters();
    196200    }
    197201
     
    282286      operators.AddRange(ApplicationManager.Manager.GetInstances<ISymbolicExpressionTreeOperator>());
    283287      ParameterizeOperators();
     288      UpdateGrammar();
     289      UpdatePartitioningParameters();
    284290    }
    285291
Note: See TracChangeset for help on using the changeset viewer.