#include <ObjectiveFunctions.h>

Public Member Functions | |
| Ackley (unsigned d=30) | |
| Constructor. | |
| ~Ackley () | |
| 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 > &fitness) const |
| If possible, this method returns (a bound on) the best possible fitness. | |
The generalized Ackley's function:
where
Definition at line 235 of file ObjectiveFunctions.h.
| Ackley::Ackley | ( | unsigned | d = 30 |
) |
Constructor.
Definition at line 233 of file ObjectiveFunctions.cpp.
References ObjectiveFunction::m_name.
| Ackley::~Ackley | ( | ) |
Destructor.
Definition at line 238 of file ObjectiveFunctions.cpp.
References ObjectiveFunctionT< T * >::constrainthandler.
| unsigned int Ackley::objectives | ( | ) | const [virtual] |
return the number of objectives to optimize
Implements ObjectiveFunction.
Definition at line 244 of file ObjectiveFunctions.cpp.
| bool Ackley::ProposeStartingPoint | ( | double *& | point | ) | const |
Definition at line 271 of file ObjectiveFunctions.cpp.
References ObjectiveFunctionVS< double >::m_dimension.
| void Ackley::result | ( | double *const & | point, | |
| std::vector< double > & | value | |||
| ) |
Definition at line 249 of file ObjectiveFunctions.cpp.
References ObjectiveFunctionVS< double >::m_dimension, and ObjectiveFunction::m_timesCalled.
| bool Ackley::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 282 of file ObjectiveFunctions.cpp.