Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/15/20 13:53:11 (4 years ago)
Author:
mkommend
Message:

#2971: Added first draft of results implementation and problem adaptation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.ExternalEvaluation/3.4/Programmable/SingleObjective/SingleObjectiveOptimizationSupportScript.cs

    r16816 r17745  
    3131  [StorableType("3EB74171-6ECB-4479-861E-DA4EB39FE70C")]
    3232  public sealed class SingleObjectiveOptimizationSupportScript<TEncodedSolution> : OptimizationSupportScript<ISingleObjectiveOptimizationSupport<TEncodedSolution>>, ISingleObjectiveOptimizationSupport<TEncodedSolution>
    33     where TEncodedSolution : IDeepCloneable {
    34    
     33    where TEncodedSolution : class, IEncodedSolution {
     34
    3535    [StorableConstructor]
    3636    private SingleObjectiveOptimizationSupportScript(StorableConstructorFlag _) : base(_) { }
     
    4747    }
    4848
    49     void ISingleObjectiveOptimizationSupport<TEncodedSolution>.Analyze(TEncodedSolution[] individuals, double[] qualities, ResultCollection results, IRandom random) {
    50       CompiledInstance.Analyze(individuals, qualities, results, random);
     49    void ISingleObjectiveOptimizationSupport<TEncodedSolution>.Analyze(ISingleObjectiveSolutionContext<TEncodedSolution>[] solutionContexts, IRandom random) {
     50      CompiledInstance.Analyze(solutionContexts, random);
    5151    }
    5252
Note: See TracChangeset for help on using the changeset viewer.