Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/15/16 16:07:14 (8 years ago)
Author:
bwerth
Message:

#1087 minor bugfixes and added unittests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/MultiObjectiveTestFunction.cs

    r13451 r13515  
    2727using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2828
    29 namespace HeuristicLab.Problems.TestFunctions {
     29namespace HeuristicLab.Problems.MultiObjectiveTestFunctions {
    3030  /// <summary>
    3131  /// Base class for a test function evaluator.
     
    7777    public abstract int MaximumSolutionSize { get; }
    7878
     79    /// <summary>
     80    /// retrieves the optimal pareto front (if known from a file)
     81    /// </summary>
     82    public abstract RealVector[] OptimalParetoFront { get; }
     83
     84    public virtual RealVector ReferencePoint {
     85      get {
     86        return new RealVector(new double[]{ 11,11});
     87      }
     88    }
     89
     90    public virtual double BestKnownHypervolume {
     91      get {
     92        return 0;
     93      }
     94    }
     95
    7996    [StorableConstructor]
    8097    protected MultiObjectiveTestFunction(bool deserializing) : base(deserializing) { }
Note: See TracChangeset for help on using the changeset viewer.