Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/15 15:15:27 (9 years ago)
Author:
mkommend
Message:

#2521: Refactored encodings and problems.

File:
1 edited

Legend:

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

    r12012 r13336  
    2525
    2626namespace HeuristicLab.Optimization {
    27   public interface IEncoding : IParameterizedNamedItem {
    28     ISolutionCreator SolutionCreator { get; set; }
     27  public interface IEncoding<TSolution> : IParameterizedNamedItem
     28    where TSolution : class, ISolution {
     29    ISolutionCreator<TSolution> SolutionCreator { get; set; }
    2930    IEnumerable<IOperator> Operators { get; set; }
    3031
    31     Individual GetIndividual(IScope scope);
    3232    void ConfigureOperator(IOperator @operator);
    3333    void ConfigureOperators(IEnumerable<IOperator> operators);
     
    3636    event EventHandler OperatorsChanged;
    3737  }
     38
     39
    3840}
Note: See TracChangeset for help on using the changeset viewer.