Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/19/10 02:15:10 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on operators and SGA
  • improved performance
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Selection/3.3/Selector.cs

    r2818 r2830  
    2020#endregion
    2121
     22using System.Collections.Generic;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Data;
     
    5960
    6061    public sealed override IExecutionSequence Apply() {
    61       ScopeList scopes = new ScopeList(CurrentScope.SubScopes);
    62       ScopeList selected = Select(scopes);
     62      List<IScope> scopes = new List<IScope>(CurrentScope.SubScopes);
     63      IScope[] selected = Select(scopes);
    6364
    6465      CurrentScope.SubScopes.Clear();
     
    7374    }
    7475
    75     protected abstract ScopeList Select(ScopeList scopes);
     76    protected abstract IScope[] Select(List<IScope> scopes);
    7677  }
    7778}
Note: See TracChangeset for help on using the changeset viewer.