Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/19/11 16:22:50 (13 years ago)
Author:
gkronber
Message:

Implemented type coherent grammar. #1387

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Classification/3.3/Symbolic/SymbolicClassificationProblem.cs

    r5279 r5333  
    181181    }
    182182
     183    [StorableHook(HookType.AfterDeserialization)]
     184    private void AfterDeserialization() {
     185      RegisterParameterEvents();
     186    }
     187
    183188    private void RegisterParameterEvents() {
    184189      SolutionCreator.SymbolicExpressionTreeParameter.ActualNameChanged += new EventHandler(SolutionCreator_SymbolicExpressionTreeParameter_ActualNameChanged);
     
    217222
    218223    private void FunctionTreeGrammarParameter_ValueChanged(object sender, System.EventArgs e) {
    219       if (!(FunctionTreeGrammar is GlobalSymbolicExpressionGrammar))
     224      if (!(FunctionTreeGrammar is GlobalSymbolicExpressionGrammar)) {
    220225        FunctionTreeGrammar = new GlobalSymbolicExpressionGrammar(FunctionTreeGrammar);
     226      }
    221227      OnGrammarChanged();
    222228    }
Note: See TracChangeset for help on using the changeset viewer.