Changeset 7566 for branches/MPI/HeuristicLab.Operators.MPISupport
- Timestamp:
- 03/06/12 16:11:36 (13 years ago)
- Location:
- branches/MPI/HeuristicLab.Operators.MPISupport/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/MPI/HeuristicLab.Operators.MPISupport/3.3/MPIHelper.cs
r7544 r7566 27 27 } 28 28 29 public static void Execute(IAtomicOperation op , CancellationToken cancellationToken) {29 public static void Execute(IAtomicOperation op) { 30 30 IOperation next; 31 31 OperationCollection coll; … … 36 36 37 37 while (executionStack.Count > 0) { 38 cancellationToken.ThrowIfCancellationRequested();39 40 38 next = executionStack.Pop(); 41 39 if (next is OperationCollection) { … … 46 44 operation = (IAtomicOperation)next; 47 45 try { 48 next = operation.Operator.Execute((IExecutionContext)operation, cancellationToken);46 next = operation.Operator.Execute((IExecutionContext)operation, new CancellationToken()); 49 47 } 50 48 catch (Exception ex) { -
branches/MPI/HeuristicLab.Operators.MPISupport/3.3/MPISolutionsCreator.cs
r7544 r7566 29 29 using System.Collections.Generic; 30 30 using MPI; 31 using System; 31 32 32 33 namespace HeuristicLab.Operators.MPISupport { … … 103 104 if (creator != null) { 104 105 IAtomicOperation op = ExecutionContext.CreateOperation(creator, scopes[i]); 105 MPIHelper.Execute(op , CancellationToken);106 MPIHelper.Execute(op); 106 107 } 107 108 108 109 if (evaluator != null) { 109 110 IAtomicOperation op = ExecutionContext.CreateOperation(evaluator, scopes[i]); 110 MPIHelper.Execute(op , CancellationToken);111 MPIHelper.Execute(op); 111 112 } 112 113 -
branches/MPI/HeuristicLab.Operators.MPISupport/3.3/MPIUniformSubscopesProcessor.cs
r7544 r7566 64 64 for (int i = start; i < end; i++) { 65 65 IAtomicOperation op = ExecutionContext.CreateOperation(Operator, scopes[i]); 66 MPIHelper.Execute(op , CancellationToken);66 MPIHelper.Execute(op); 67 67 68 68 //SEND results to other clients -
branches/MPI/HeuristicLab.Operators.MPISupport/3.3/Plugin.cs.frame
r7544 r7566 28 28 [Plugin("HeuristicLab.Operators.MPISupport", "3.3.4.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Operators.MPISupport-3.3.dll", PluginFileType.Assembly)] 30 [PluginDependency("HeuristicLab.MPInet", "1.0.0")]31 30 [PluginDependency("HeuristicLab.Core", "3.3")] 32 31 [PluginDependency("HeuristicLab.Common", "3.3")]
Note: See TracChangeset
for help on using the changeset viewer.