ZDT4 Class Reference

multi-objective problem ZDT4 More...

#include <MultiObjectiveFunctions.h>

Inheritance diagram for ZDT4:

ObjectiveFunctionVS< double > ObjectiveFunctionT< T * > ObjectiveFunction

List of all members.

Public Member Functions

 ZDT4 (unsigned d)
 Constructor.
 ~ZDT4 ()
 Destructor.
unsigned int objectives () const
 return the number of objectives to optimize
void result (double *const &point, std::vector< double > &value)
bool ProposeStartingPoint (double *&point) const
bool utopianFitness (std::vector< double > &value) const
 If possible, this method returns (a bound on) the best possible fitness.
bool nadirFitness (std::vector< double > &value) const
 If possible, this method returns (a bound on) the worst possible fitness.


Detailed Description

multi-objective problem ZDT4

\[ f_{1}(x)=x_1 \]

\[ f_2({\bf x})=g({\bf x})(1-{(\frac{x_1}{g({\bf x})})}^2) \]

where

\[ g(x)=1+10(n-1)+\sum_{i=2}^{n}(x_i^2 -10\cos{(4 \pi x_i)}) \]

$ 0 \leq x_1 \leq 1 $ and $ x_2, \ldots, x_{10} \in [-5,5] $

Definition at line 258 of file MultiObjectiveFunctions.h.


Constructor & Destructor Documentation

ZDT4::ZDT4 ( unsigned  d  ) 

Constructor.

Definition at line 354 of file MultiObjectiveFunctions.cpp.

References ObjectiveFunction::m_name.

ZDT4::~ZDT4 (  ) 

Destructor.

Definition at line 359 of file MultiObjectiveFunctions.cpp.

References ObjectiveFunctionT< T * >::constrainthandler.


Member Function Documentation

bool ZDT4::nadirFitness ( std::vector< double > &  value  )  const [virtual]

If possible, this method returns (a bound on) the worst possible fitness.

For single objective optimization this information is rarely of any use, while for multi objective optimization a so-called nadir point is important for the computation of standard quality indicators like the hypervolume.

Parameters:
fitness component wise worst fitness
Returns:
true if a nadir point is known, false otherwise

Reimplemented from ObjectiveFunctionVS< double >.

Definition at line 405 of file MultiObjectiveFunctions.cpp.

References ObjectiveFunctionVS< double >::m_dimension.

unsigned int ZDT4::objectives (  )  const [virtual]

return the number of objectives to optimize

Implements ObjectiveFunction.

Definition at line 365 of file MultiObjectiveFunctions.cpp.

bool ZDT4::ProposeStartingPoint ( double *&  point  )  const

void ZDT4::result ( double *const &  point,
std::vector< double > &  value 
)

bool ZDT4::utopianFitness ( std::vector< double > &  value  )  const [virtual]

If possible, this method returns (a bound on) the best possible fitness.

For the single objective case the function should return the fitness in the global optimum. For the multi objective case this function should return a utopian point.

Parameters:
fitness component wise utopian fitness
Returns:
true if an utopian point is known, false otherwise

Reimplemented from ObjectiveFunctionVS< double >.

Definition at line 400 of file MultiObjectiveFunctions.cpp.


The documentation for this class was generated from the following files: