Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/25/10 01:04:14 (14 years ago)
Author:
abeham
Message:

#1090

  • Fixed initialization of operators and made operator list storable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs

    r4068 r4098  
    192192
    193193    #region Helpers
    194     private void InitializeOperators() {
    195       ItemList<IOperator> operators = OperatorsParameter.Value;
    196       operators.Add(new BestScopeSolutionAnalyzer());
    197       ParameterizeAnalyzers();
    198     }
    199194    [StorableHook(HookType.AfterDeserialization)]
    200195    private void AttachEventHandlers() {
     
    206201      OperatorsParameter.Value.ItemsRemoved += new CollectionItemsChangedEventHandler<IndexedItem<IOperator>>(OperatorsParameter_Value_ItemsRemoved);
    207202      OperatorsParameter.Value.CollectionReset += new CollectionItemsChangedEventHandler<IndexedItem<IOperator>>(OperatorsParameter_Value_CollectionReset);
     203    }
     204    private void InitializeOperators() {
     205      ItemList<IOperator> operators = OperatorsParameter.Value;
     206      operators.Add(new BestScopeSolutionAnalyzer());
     207      ParameterizeAnalyzers();
    208208    }
    209209    private void ParameterizeAnalyzers() {
Note: See TracChangeset for help on using the changeset viewer.