Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/08/09 02:02:21 (16 years ago)
Author:
swagner
Message:

Refactoring of the Operator Architecture (#95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Operator Architecture Refactoring/HeuristicLab.Core/3.2/Interfaces/IParameter.cs

    r1994 r2030  
    2727namespace HeuristicLab.Core {
    2828  /// <summary>
    29   /// Interface to store meta-information about parameters of operators.
     29  /// Interface to represent parameters of operators.
    3030  /// </summary>
    3131  public interface IParameter : IItem {
    3232    /// <summary>
    33     /// Gets or sets the name of the current instance.
     33    /// Gets or sets the actual name of the parameter.
    3434    /// </summary>
    35     string Name { get; }
     35    string ActualName { get; set; }
    3636    /// <summary>
    37     /// Gets the description of the current instance.
     37    /// Gets or sets the formal name of the parameter.
    3838    /// </summary>
    39     string Description { get; }
     39    string FormalName { get; }
     40    /// <summary>
     41    /// Gets or sets the description of the current instance.
     42    /// </summary>
     43    string Description { get; set; }
    4044    /// <summary>
    4145    /// Gets the data type of the current instance.
     
    4650    /// </summary>
    4751    ParameterType Type { get; }
     52    /// <summary>
     53    /// Gets or sets, if the parameter is constant (only valid for input parameters).
     54    /// </summary>
     55    bool Constant { get; set; }
     56    /// <summary>
     57    /// Gets or sets, if the parameter should be cached by operators.
     58    /// </summary>
     59    bool Cached { get; set; }
     60    /// <summary>
     61    /// Gets or sets the value of the parameter.
     62    /// </summary>
     63    IItem Value { get; set; }
     64
     65    /// <summary>
     66    /// Occurs when the actual name of the current instance has been changed.
     67    /// </summary>
     68    event EventHandler ActualNameChanged;
     69    /// <summary>
     70    /// Occurs when the description of the current instance has been changed.
     71    /// </summary>
     72    event EventHandler DescriptionChanged;
     73    /// <summary>
     74    /// Occurs when the constant flag of the current instance has been changed.
     75    /// </summary>
     76    event EventHandler ConstantChanged;
     77    /// <summary>
     78    /// Occurs when the cached flag of the current instance has been changed.
     79    /// </summary>
     80    event EventHandler CachedChanged;
     81    /// <summary>
     82    /// Occurs when the value of the current instance has been changed.
     83    /// </summary>
     84    event EventHandler ValueChanged;
     85
     86  }
     87
     88  /// <summary>
     89  /// Generic interface to represent parameters of operators.
     90  /// </summary>
     91  /// <typeparam name="T">The data type of the parameter, which has to be an <see cref="IItem"/>.</typeparam>
     92  public interface IParamter<T> : IParameter where T : class, IItem {
     93    /// <summary>
     94    /// Gets or sets the value of the parameter.
     95    /// </summary>
     96    T Value { get; set; }
    4897  }
    4998}
Note: See TracChangeset for help on using the changeset viewer.