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/MergingReducer.cs

    r2818 r2830  
    2020#endregion
    2121
     22using System.Collections.Generic;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3334    public MergingReducer() : base() { }
    3435
    35     protected override ScopeList Reduce(ScopeList scopes) {
    36       ScopeList reduced = new ScopeList();
     36    protected override List<IScope> Reduce(List<IScope> scopes) {
     37      List<IScope> reduced = new List<IScope>();
    3738      for (int i = 0; i < scopes.Count; i++)
    3839        reduced.AddRange(scopes[i].SubScopes);
Note: See TracChangeset for help on using the changeset viewer.