Changeset 5177 for branches/ParallelEngine/HeuristicLab.Optimization.Operators/3.3/UserDefinedOperator.cs
- Timestamp:
- 12/26/10 03:51:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParallelEngine/HeuristicLab.Optimization.Operators/3.3/UserDefinedOperator.cs
r4722 r5177 35 35 public UserDefinedOperator() : base() { } 36 36 37 public override IOperation Apply( ) {37 public override IOperation Apply(IExecutionContext context) { 38 38 OperationCollection result = new OperationCollection(); 39 39 foreach (IOperator op in Operators.CheckedItems.OrderBy(x => x.Index).Select(x => x.Value)) { 40 result.Add( ExecutionContext.CreateOperation(op));40 result.Add(context.CreateOperation(op)); 41 41 } 42 result.Add(base.Apply( ));42 result.Add(base.Apply(context)); 43 43 return result; 44 44 }
Note: See TracChangeset
for help on using the changeset viewer.