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.DataAnalysis/3.3/SupportVectorMachine/ParameterAdjustmentProblem/SupportVectorMachineParameterAdjustmentProblem.cs

    r4100 r4118  
    129129
    130130    [StorableConstructor]
    131     private SupportVectorMachineParameterAdjustmentProblem(bool deserializing) : base() { }
     131    private SupportVectorMachineParameterAdjustmentProblem(bool deserializing) : base(deserializing) { }
    132132    public SupportVectorMachineParameterAdjustmentProblem()
    133133      : base() {
     
    216216    #region Helpers
    217217    [StorableHook(HookType.AfterDeserialization)]
     218    private void AfterDeserializationHook() {
     219      // BackwardsCompatibility3.3
     220      #region Backwards compatible code (remove with 3.4)
     221      if (operators == null) InitializeOperators();
     222      #endregion
     223      AttachEventHandlers();
     224    }
     225
    218226    private void AttachEventHandlers() {
    219       // Start BackwardsCompatibility3.3 (remove with 3.4)
    220       if (operators == null) InitializeOperators();
    221       // End BackwardsCompatibility3.3
    222227      SolutionCreatorParameter.ValueChanged += new EventHandler(SolutionCreatorParameter_ValueChanged);
    223228      SolutionCreator.RealVectorParameter.ActualNameChanged += new EventHandler(SolutionCreator_RealVectorParameter_ActualNameChanged);
Note: See TracChangeset for help on using the changeset viewer.