Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/19/08 12:12:39 (16 years ago)
Author:
vdorfer
Message:

Created API documentation for HeuristicLab.Core namespace (#331)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/Interfaces/IEngine.cs

    r2 r776  
    2525
    2626namespace HeuristicLab.Core {
     27  /// <summary>
     28  /// Interface to represent one run. (An engine is an interpreter, holding the code,
     29  /// the data and the actual state, which is the runtime stack and a pointer onto the next operation.).
     30  /// It is responsible for operator execution and able to deal with parallelism.
     31  /// </summary>
    2732  public interface IEngine : IItem {
     33    /// <summary>
     34    /// Gets the operator graph of the current instance.
     35    /// </summary>
    2836    IOperatorGraph OperatorGraph { get; }
     37    /// <summary>
     38    /// Gets the global scope of the current instance.
     39    /// </summary>
    2940    IScope GlobalScope { get; }
    3041
     42    /// <summary>
     43    /// Gets the execution time of the current instance.
     44    /// </summary>
    3145    TimeSpan ExecutionTime { get; }
    3246
     47    /// <summary>
     48    /// Gets information whether the engine is currently running.
     49    /// </summary>
    3350    bool Running { get; }
     51    /// <summary>
     52    /// Gets information whether the engine is canceled.
     53    /// </summary>
    3454    bool Canceled { get; }
     55    /// <summary>
     56    /// Gets information whether the engine has already terminated.
     57    /// </summary>
    3558    bool Terminated { get; }
    3659
     60    /// <summary>
     61    /// Executes the whole run.
     62    /// </summary>
    3763    void Execute();
     64    /// <summary>
     65    /// Executes one step (one operation).
     66    /// </summary>
    3867    void ExecuteStep();
     68    /// <summary>
     69    /// Executes the given number of steps.
     70    /// </summary>
     71    /// <param name="steps">The number of steps to execute.</param>
    3972    void ExecuteSteps(int steps);
     73    /// <summary>
     74    /// Aborts the engine run.
     75    /// </summary>
    4076    void Abort();
     77    /// <summary>
     78    /// Resets the current instance.
     79    /// </summary>
    4180    void Reset();
    4281
     82    /// <summary>
     83    /// Occurs when the current instance is initialized.
     84    /// </summary>
    4385    event EventHandler Initialized;
     86    /// <summary>
     87    /// Occurs when an operation is executed.
     88    /// </summary>
    4489    event EventHandler<OperationEventArgs> OperationExecuted;
     90    /// <summary>
     91    /// Occurs when an exception was thrown.
     92    /// </summary>
    4593    event EventHandler<ExceptionEventArgs> ExceptionOccurred;
     94    /// <summary>
     95    /// Occurs when the execution time was changed.
     96    /// </summary>
    4697    event EventHandler ExecutionTimeChanged;
     98    /// <summary>
     99    /// Occurs when the engine is finished.
     100    /// </summary>
    47101    event EventHandler Finished;
    48102  }
Note: See TracChangeset for help on using the changeset viewer.