- Timestamp:
- 02/19/10 06:19:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/3.3/ConditionalBranch.cs
r2796 r2834 58 58 } 59 59 60 public override I ExecutionSequenceApply() {61 ExecutionContextCollection next = new ExecutionContextCollection(base.Apply());60 public override IOperation Apply() { 61 OperationCollection next = new OperationCollection(base.Apply()); 62 62 if (ConditionParameter.ActualValue.Value) { 63 if (TrueBranch != null) next.Insert(0, ExecutionContext.Create Context(TrueBranch));63 if (TrueBranch != null) next.Insert(0, ExecutionContext.CreateOperation(TrueBranch)); 64 64 } else { 65 if (FalseBranch != null) next.Insert(0, ExecutionContext.Create Context(FalseBranch));65 if (FalseBranch != null) next.Insert(0, ExecutionContext.CreateOperation(FalseBranch)); 66 66 } 67 67 return next;
Note: See TracChangeset
for help on using the changeset viewer.