Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/21/19 17:58:32 (4 years ago)
Author:
mkommend
Message:

#2521: First version of contexts in problem evaluation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/ISingleObjectiveProblemDefinition.cs

    r17320 r17363  
    3939    double Evaluate(TEncodedSolution solution, IRandom random);
    4040    double Evaluate(TEncodedSolution solution, IRandom random, CancellationToken cancellationToken);
     41    void Evaluate(ISingleObjectiveSolutionContext<TEncodedSolution> solutionContext, IRandom random);
     42    void Evaluate(ISingleObjectiveSolutionContext<TEncodedSolution> solutionContext, IRandom random, CancellationToken cancellationToken);
    4143
    4244    void Analyze(TEncodedSolution[] solutions, double[] qualities, ResultCollection results, IRandom random);
     45    void Analyze(ISingleObjectiveSolutionContext<TEncodedSolution>[] solutionContexts, ResultCollection results, IRandom random);
     46
    4347    IEnumerable<TEncodedSolution> GetNeighbors(TEncodedSolution solution, IRandom random);
     48    IEnumerable<ISingleObjectiveSolutionContext<TEncodedSolution>> GetNeighbors(ISingleObjectiveSolutionContext<TEncodedSolution> solutionContext, IRandom random);
    4449  }
    4550}
Note: See TracChangeset for help on using the changeset viewer.