Changeset 2851 for trunk/sources/HeuristicLab.SequentialEngine
- Timestamp:
- 02/22/10 04:15:53 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.SequentialEngine/3.3/SequentialEngine.cs
r2834 r2851 36 36 37 37 /// <summary> 38 /// Aborts the engine execution.39 /// </summary>40 /// <remarks>Calls <see cref="EngineBase.Abort"/> of base class <see cref="EngineBase"/> and41 /// <see cref="IOperator.Abort"/> of the current <see cref="IOperator"/>.</remarks>42 public override void Stop() {43 base.Stop();44 if (currentOperator != null)45 currentOperator.Abort();46 }47 48 /// <summary>49 38 /// Deals with the next operation, if it is an <see cref="AtomicOperation"/> it is executed, 50 39 /// if it is a <see cref="CompositeOperation"/> its single operations are pushed on the execution stack. … … 79 68 } 80 69 } 70 71 protected override void OnCanceledChanged() { 72 if (Canceled && (currentOperator != null)) 73 currentOperator.Abort(); 74 } 81 75 } 82 76 }
Note: See TracChangeset
for help on using the changeset viewer.