#include <ObjectiveFunctions.h>

Public Member Functions | |
| Sphere (unsigned d) | |
| Constructor. | |
| ~Sphere () | |
| 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. | |
Rotation invariant Paraboloid f(x) = <x, x>.
Definition at line 52 of file ObjectiveFunctions.h.
| Sphere::Sphere | ( | unsigned | d | ) |
Constructor.
Definition at line 44 of file ObjectiveFunctions.cpp.
References ObjectiveFunction::m_name.
| Sphere::~Sphere | ( | ) |
| unsigned int Sphere::objectives | ( | ) | const [virtual] |
return the number of objectives to optimize
Implements ObjectiveFunction.
Definition at line 53 of file ObjectiveFunctions.cpp.
| bool Sphere::ProposeStartingPoint | ( | double *& | point | ) | const |
Definition at line 68 of file ObjectiveFunctions.cpp.
References ObjectiveFunctionVS< double >::m_dimension.
| void Sphere::result | ( | double *const & | point, | |
| std::vector< double > & | value | |||
| ) |
Definition at line 58 of file ObjectiveFunctions.cpp.
References ObjectiveFunctionVS< double >::m_dimension, and ObjectiveFunction::m_timesCalled.
| bool Sphere::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 83 of file ObjectiveFunctions.cpp.