Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3480


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)

Location:
trunk/sources
Files:
2 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
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/ScatterPlotView.cs

    r3462 r3480  
    3636namespace HeuristicLab.Problems.DataAnalysis.Views {
    3737  [View("Scatter Plot View")]
    38   [Content(typeof(DataAnalysisSolution))]
     38  [Content(typeof(DataAnalysisSolution), true)]
    3939  public partial class ScatterPlotView : AsynchronousContentView {
    4040    private const string DEFAULT_CAPTION = "Scatter Plot";
Note: See TracChangeset for help on using the changeset viewer.