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.Operators/3.3/ConditionalBranch.cs

    r2796 r2834  
    5858    }
    5959
    60     public override IExecutionSequence Apply() {
    61       ExecutionContextCollection next = new ExecutionContextCollection(base.Apply());
     60    public override IOperation Apply() {
     61      OperationCollection next = new OperationCollection(base.Apply());
    6262      if (ConditionParameter.ActualValue.Value) {
    63         if (TrueBranch != null) next.Insert(0, ExecutionContext.CreateContext(TrueBranch));
     63        if (TrueBranch != null) next.Insert(0, ExecutionContext.CreateOperation(TrueBranch));
    6464      } else {
    65         if (FalseBranch != null) next.Insert(0, ExecutionContext.CreateContext(FalseBranch));
     65        if (FalseBranch != null) next.Insert(0, ExecutionContext.CreateOperation(FalseBranch));
    6666      }
    6767      return next;
Note: See TracChangeset for help on using the changeset viewer.