Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/27/10 19:54:20 (14 years ago)
Author:
abeham
Message:

#1090

  • Fixed problem plugins reloading their operators on deserialization in following problems (forgot on them in the first commit)
    • SupportVectorRegressionProblem
    • SymbolicTimeSeriesPrognosisProblem
  • Fixed a bug in the FeatureSelectionProblem introduced in r4098
  • Fixed the issues mentioned in the code review of mkommend
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ArtificialAnt/3.3/ArtificialAntProblem.cs

    r4106 r4118  
    278278    #region Helpers
    279279    [StorableHook(HookType.AfterDeserialization)]
     280    private void AfterDeserializationHook() {
     281      // BackwardsCompatibility3.3
     282      #region Backwards compatible code (remove with 3.4)
     283      if (operators == null) InitializeOperators();
     284      #endregion
     285      AttachEventHandlers();
     286    }
     287
    280288    private void AttachEventHandlers() {
    281       // Start BackwardsCompatibility3.3 (remove with 3.4)
    282       if (operators == null) InitializeOperators();
    283       // End BackwardsCompatibility3.3
    284289      SolutionCreatorParameter.ValueChanged += new EventHandler(SolutionCreatorParameter_ValueChanged);
    285290      SolutionCreator.SymbolicExpressionTreeParameter.ActualNameChanged += new EventHandler(SolutionCreator_SymbolicExpressionTreeParameter_ActualNameChanged);
Note: See TracChangeset for help on using the changeset viewer.