#include <MultiObjectiveFunctions.h>

Public Member Functions | |
| Schaffer () | |
| Constructor. | |
| ~Schaffer () | |
| 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. | |
where
and
Definition at line 125 of file MultiObjectiveFunctions.h.
| Schaffer::Schaffer | ( | ) |
Constructor.
Definition at line 110 of file MultiObjectiveFunctions.cpp.
References ObjectiveFunction::m_name.
| Schaffer::~Schaffer | ( | ) |
Destructor.
Definition at line 115 of file MultiObjectiveFunctions.cpp.
References ObjectiveFunctionT< T * >::constrainthandler.
| bool Schaffer::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.
| fitness | component wise worst fitness |
Reimplemented from ObjectiveFunctionVS< double >.
Definition at line 151 of file MultiObjectiveFunctions.cpp.
| unsigned int Schaffer::objectives | ( | ) | const [virtual] |
return the number of objectives to optimize
Implements ObjectiveFunction.
Definition at line 122 of file MultiObjectiveFunctions.cpp.
| bool Schaffer::ProposeStartingPoint | ( | double *& | point | ) | const |
Definition at line 137 of file MultiObjectiveFunctions.cpp.
References ObjectiveFunctionVS< double >::m_dimension.
| void Schaffer::result | ( | double *const & | point, | |
| std::vector< double > & | value | |||
| ) |
Definition at line 127 of file MultiObjectiveFunctions.cpp.
References ObjectiveFunction::m_timesCalled.
| bool Schaffer::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.
| fitness | component wise utopian fitness |
Reimplemented from ObjectiveFunctionVS< double >.
Definition at line 146 of file MultiObjectiveFunctions.cpp.