Free cookie consent management tool by TermsFeed Policy Generator

Changes between Initial Version and Version 1 of Algorithms


Ignore:
Timestamp:
07/08/10 12:43:55 (14 years ago)
Author:
mkofler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Algorithms

    v1 v1  
     1{{{#!java
     2  public interface IExecutable : IItem {
     3    ExecutionState ExecutionState { get; }
     4    TimeSpan ExecutionTime { get; }
     5
     6    void Prepare();
     7    void Start();
     8    void Pause();
     9    void Stop();
     10
     11    event EventHandler ExecutionStateChanged;
     12    event EventHandler ExecutionTimeChanged;
     13    event EventHandler Prepared;
     14    event EventHandler Started;
     15    event EventHandler Paused;
     16    event EventHandler Stopped;
     17    event EventHandler<EventArgs<Exception>> ExceptionOccurred;
     18  }
     19}}}
     20
     21{{{#!java
     22  /// <summary>
     23  /// Interface to represent optimizers such as algorithms, batch runs, or experiments.
     24  /// </summary>
     25  public interface IOptimizer : INamedItem, IExecutable {
     26    RunCollection Runs { get; }
     27
     28    void Prepare(bool clearRuns);
     29  }
     30}}}
     31
     32{{{#!java
     33  public interface IAlgorithm : IParameterizedNamedItem, IOptimizer {
     34    Type ProblemType { get; }
     35    IProblem Problem { get; set; }
     36    ResultCollection Results { get; }
     37
     38    void CollectResultValues(IDictionary<string, IItem> values);
     39
     40    event EventHandler ProblemChanged;
     41  }
     42}}}