Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/29/19 13:53:26 (5 years ago)
Author:
mkommend
Message:

#2521: Integrated changes of #2943 into problem refactoring branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/CompiledProblemDefinition.cs

    r16806 r17225  
    2323using System.Collections.Generic;
    2424using HeuristicLab.Core;
     25using HeuristicLab.Data;
    2526using HeuristicLab.Optimization;
    2627
     
    5152    where TEncoding : class, IEncoding<TEncodedSolution>
    5253    where TEncodedSolution : class, IEncodedSolution {
    53 
    5454    protected CompiledSingleObjectiveProblemDefinition() : base() { }
    5555
     
    7272    where TEncoding : class, IEncoding<TEncodedSolution>
    7373    where TEncodedSolution : class, IEncodedSolution {
    74 
    7574    protected CompiledMultiObjectiveProblemDefinition() : base() { }
    7675
     
    7978
    8079    #region ISingleObjectiveProblemDefinition<TEncoding,TEncodedSolution> Members
    81 
    8280    public int Objectives => Maximization.Length;
    8381    public abstract bool[] Maximization { get; }
     82    public abstract IReadOnlyList<double[]> BestKnownFront { get; }
     83    public abstract double[] ReferencePoint { get; }
    8484    public abstract double[] Evaluate(TEncodedSolution individual, IRandom random);
    8585    public abstract void Analyze(TEncodedSolution[] individuals, double[][] qualities, ResultCollection results, IRandom random);
Note: See TracChangeset for help on using the changeset viewer.