Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/15/10 05:26:02 (15 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on operators, parameters and problems
Location:
trunk/sources/HeuristicLab.Core/3.3/Interfaces
Files:
1 added
4 edited

Legend:

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

    r2790 r2796  
    2121
    2222using System;
    23 using System.Collections.Generic;
    24 using System.Text;
    2523using HeuristicLab.Common;
    2624
     
    4038    /// </summary>
    4139    IScope GlobalScope { get; }
     40    /// <summary>
     41    /// Gets the problem of the current instance.
     42    /// </summary>
     43    IProblem Problem { get; set; }
    4244
    4345    /// <summary>
     
    7274    void Stop();
    7375
     76    /// <summary>
     77    /// Occurs when the operator graph was changed.
     78    /// </summary>
    7479    event EventHandler OperatorGraphChanged;
     80    /// <summary>
     81    /// Occurs when the problem was changed.
     82    /// </summary>
     83    event EventHandler ProblemChanged;
    7584    /// <summary>
    7685    /// Occurs when the execution time was changed.
  • trunk/sources/HeuristicLab.Core/3.3/Interfaces/ILookupParameter.cs

    r2790 r2796  
    2626
    2727namespace HeuristicLab.Core {
    28   public interface ILookupParameter<T> : IParameter where T : class, IItem {
     28  public interface ILookupParameter : IParameter {
    2929    string ActualName { get; set; }
    30 
    3130    event EventHandler ActualNameChanged;
    3231  }
     32
     33  public interface ILookupParameter<T> : ILookupParameter where T : class, IItem {
     34    new T ActualValue { get; set; }
     35  }
    3336}
  • trunk/sources/HeuristicLab.Core/3.3/Interfaces/IValueLookupParameter.cs

    r2790 r2796  
    2626
    2727namespace HeuristicLab.Core {
    28   public interface IValueLookupParameter<T> : IValueParameter<T>, ILookupParameter<T> where T : class, IItem { }
     28  public interface IValueLookupParameter : IValueParameter, ILookupParameter { }
     29
     30  public interface IValueLookupParameter<T> : IValueLookupParameter, IValueParameter<T>, ILookupParameter<T> where T : class, IItem { }
    2931}
  • trunk/sources/HeuristicLab.Core/3.3/Interfaces/IValueParameter.cs

    r2790 r2796  
    2626
    2727namespace HeuristicLab.Core {
    28   public interface IValueParameter<T> : IParameter where T : class, IItem {
    29     T Value { get; set; }
    30 
     28  public interface IValueParameter : IParameter {
     29    IItem Value { get; set; }
    3130    event EventHandler ValueChanged;
    3231  }
     32
     33  public interface IValueParameter<T> : IValueParameter where T : class, IItem {
     34    new T Value { get; set; }
     35  }
    3336}
Note: See TracChangeset for help on using the changeset viewer.