Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/15 15:15:27 (7 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/ISingleObjectiveProblemDefinition.cs

    r12012 r13336  
    2424
    2525namespace HeuristicLab.Optimization {
    26   public interface ISingleObjectiveProblemDefinition : IProblemDefinition {
     26  public interface ISingleObjectiveProblemDefinition<TSolution> : IProblemDefinition
     27  where TSolution : class, ISolution {
    2728    bool Maximization { get; }
    28     double Evaluate(Individual individual, IRandom random);
    29     void Analyze(Individual[] individuals, double[] qualities, ResultCollection results, IRandom random);
    30     IEnumerable<Individual> GetNeighbors(Individual individual, IRandom random);
     29    double Evaluate(TSolution individual, IRandom random);
     30    void Analyze(TSolution[] individuals, double[] qualities, ResultCollection results, IRandom random);
     31    IEnumerable<TSolution> GetNeighbors(TSolution individual, IRandom random);
    3132  }
    3233}
Note: See TracChangeset for help on using the changeset viewer.