Free cookie consent management tool by TermsFeed Policy Generator

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

Operator architecture refactoring (#95)

  • worked on operators, engines, and optimization
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Evolutionary/3.3/PopulationCreator.cs

    r2830 r2834  
    5959    }
    6060
    61     public override IExecutionSequence Apply() {
     61    public override IOperation Apply() {
    6262      int size = PopulationSizeParameter.ActualValue.Value;
    6363      IOperator creator = SolutionCreatorParameter.ActualValue;
     
    6969        CurrentScope.SubScopes.Add(new Scope(i.ToString()));
    7070
    71       ExecutionContextCollection next = new ExecutionContextCollection();
     71      OperationCollection next = new OperationCollection();
    7272      for (int i = 0; i < CurrentScope.SubScopes.Count; i++) {
    73         if (creator != null) next.Add(ExecutionContext.CreateContext(creator, CurrentScope.SubScopes[i]));
    74         if (evaluator != null) next.Add(ExecutionContext.CreateContext(evaluator, CurrentScope.SubScopes[i]));
     73        if (creator != null) next.Add(ExecutionContext.CreateOperation(creator, CurrentScope.SubScopes[i]));
     74        if (evaluator != null) next.Add(ExecutionContext.CreateOperation(evaluator, CurrentScope.SubScopes[i]));
    7575      }
    7676      next.Add(base.Apply());
Note: See TracChangeset for help on using the changeset viewer.