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/DTLZ1.cs

    r13451 r13515  
    11using System;
    2 using System.Collections.Generic;
    3 using System.Linq;
    4 using System.Text;
    5 using System.Threading.Tasks;
    62using HeuristicLab.Common;
    73using HeuristicLab.Core;
    84using HeuristicLab.Data;
    95using HeuristicLab.Encodings.RealVectorEncoding;
    10 using HeuristicLab.Parameters;
    116using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    12 using HeuristicLab.Problems.MultiObjectiveTestFunction;
    137
    14 namespace HeuristicLab.Problems.TestFunctions {
    15   [Item("DTLZ1", " http://repository.ias.ac.in/81671/ [30.11.15]")]
     8namespace HeuristicLab.Problems.MultiObjectiveTestFunctions {
     9  [Item("DTLZ1", "Testfunction as defined as DTLZ1 in http://repository.ias.ac.in/81671/ [30.11.15]")]
    1610  [StorableClass]
    1711  public class DTLZ1 : MultiObjectiveTestFunction {
     
    6559    }
    6660
     61    public override RealVector[] OptimalParetoFront {
     62      get {
     63        throw new NotImplementedException();
     64      }
     65    }
     66
     67    public override RealVector ReferencePoint {
     68      get { return new RealVector(new double[] { 11.0, 11.0 }); }
     69    }
     70
     71    public override double BestKnownHypervolume {
     72      get { return 120 + 7.0 / 8; }
     73    }
     74
    6775    [StorableConstructor]
    6876    protected DTLZ1(bool deserializing) : base(deserializing) { }
Note: See TracChangeset for help on using the changeset viewer.