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/ZDT6.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;
     
    95using HeuristicLab.Encodings.RealVectorEncoding;
    106using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    11 using HeuristicLab.Problems.MultiObjectiveTestFunction;
    127
    13 namespace HeuristicLab.Problems.TestFunctions {
    14   [Item("ZDT6", "//http://www.tik.ee.ethz.ch/sop/download/supplementary/testproblems/ [30.11.2015]")]
     8namespace HeuristicLab.Problems.MultiObjectiveTestFunctions {
     9  [Item("ZDT6", "ZDT6 function as defined in http://www.tik.ee.ethz.ch/sop/download/supplementary/testproblems/ [30.11.2015]")]
    1510  [StorableClass]
    1611  public class ZDT6 : MultiObjectiveTestFunction {
     
    6156    }
    6257
     58    public override RealVector[] OptimalParetoFront {
     59      get {
     60        throw new NotImplementedException();
     61      }
     62    }
     63
     64    public override RealVector ReferencePoint {
     65      get { return new RealVector(new double[] { 11.0, 11.0 }); }
     66    }
     67
     68
     69    public override double BestKnownHypervolume {
     70      get{ return 119.51857519692037009; }
     71    }
     72
    6373    [StorableConstructor]
    6474    protected ZDT6(bool deserializing) : base(deserializing) { }
Note: See TracChangeset for help on using the changeset viewer.