Changeset 5193 for trunk/sources/HeuristicLab.Core/3.3/Interfaces
- Timestamp:
- 01/03/11 00:46:55 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/ParallelEngine (added) merged: 5175-5178,5183,5185,5187-5188
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Core/3.3/Interfaces/IOperator.cs
r2845 r5193 21 21 22 22 using System; 23 using System.Threading; 23 24 24 25 namespace HeuristicLab.Core { 25 26 /// <summary> 26 /// Interface to represent an operator (e.g. GreaterThanComparator,...), 27 /// a basic instruction of an algorithm. 27 /// Interface to represent an operator. 28 28 /// </summary> 29 29 public interface IOperator : IParameterizedNamedItem { 30 /// <summary>31 /// Gets or sets a boolean value whether the engine should stop here during the run.32 /// </summary>33 30 bool Breakpoint { get; set; } 34 31 35 /// <summary> 36 /// Executes the current instance on the specified <paramref name="scope"/>. 37 /// </summary> 38 /// <param name="scope">The scope where to execute the current instance.</param> 39 /// <returns>The next operation.</returns> 40 IOperation Execute(IExecutionContext context); 41 /// <summary> 42 /// Aborts the current operator. 43 /// </summary> 44 void Abort(); 32 IOperation Execute(IExecutionContext context, CancellationToken cancellationToken); 45 33 46 /// <summary> 47 /// Occurs when the breakpoint flag of the current instance was changed. 48 /// </summary> 49 event EventHandler BreakpointChanged; 50 /// <summary> 51 /// Occurs when the current instance is executed. 52 /// </summary> 34 event EventHandler BreakpointChanged; 53 35 event EventHandler Executed; 54 36 }
Note: See TracChangeset
for help on using the changeset viewer.