Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/15 22:18:35 (9 years ago)
Author:
abeham
Message:

#2521: Adapted multi-encoding for new infrastructure

TODO: Evaluator, Analyzer, ... need to be copied

Location:
branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IEncoding.cs

    r13336 r13351  
    2525
    2626namespace HeuristicLab.Optimization {
    27   public interface IEncoding<TSolution> : IParameterizedNamedItem
    28     where TSolution : class, ISolution {
    29     ISolutionCreator<TSolution> SolutionCreator { get; set; }
     27  public interface IEncoding : IParameterizedNamedItem {
     28    ISolutionCreator SolutionCreator { get; }
    3029    IEnumerable<IOperator> Operators { get; set; }
    3130
     
    3736  }
    3837
    39 
     38  public interface IEncoding<TSolution> : IEncoding
     39    where TSolution : class, ISolution {
     40    new ISolutionCreator<TSolution> SolutionCreator { get; set; }
     41  }
    4042}
  • branches/ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IMultiEncodingOperator.cs

    r13336 r13351  
    2323
    2424namespace HeuristicLab.Optimization {
    25   public interface IMultiEncodingOperator<TSolution> : IOperator where TSolution : class,ISolution {
    26     void AddEncoding(IEncoding<TSolution> encoding);
    27     bool RemoveEncoding(IEncoding<TSolution> encoding);
     25  public interface IMultiEncodingOperator : IOperator {
     26    void AddEncoding(IEncoding encoding);
     27    bool RemoveEncoding(IEncoding encoding);
    2828  }
    2929}
Note: See TracChangeset for help on using the changeset viewer.