latest version v1.9 - last update 10 Apr 2010 |
A dummy functor that is evaluated with the paretoFront. More...
#include <ltiParetoFrontTester.h>
Classes | |
class | parameters |
The parameters for the class dummyFunctor. More... | |
Public Member Functions | |
dummyFunctor () | |
dummyFunctor (const parameters &par) | |
dummyFunctor (const dummyFunctor &other) | |
virtual | ~dummyFunctor () |
virtual const char * | getTypeName () const |
bool | apply (const double &src, double &dest) const |
dummyFunctor & | copy (const dummyFunctor &other) |
dummyFunctor & | operator= (const dummyFunctor &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
A dummy functor that is evaluated with the paretoFront.
lti::dummyFunctor::dummyFunctor | ( | ) |
Default constructor.
lti::dummyFunctor::dummyFunctor | ( | const parameters & | par | ) |
Construct a functor using the given parameters.
lti::dummyFunctor::dummyFunctor | ( | const dummyFunctor & | other | ) |
Copy constructor.
other | the object to be copied |
virtual lti::dummyFunctor::~dummyFunctor | ( | ) | [virtual] |
Destructor.
bool lti::dummyFunctor::apply | ( | const double & | src, | |
double & | dest | |||
) | const |
operates on a copy of the given parameters.
src | double with the source data. | |
dest | double where the result will be left. |
virtual functor* lti::dummyFunctor::clone | ( | ) | const [virtual] |
Returns a pointer to a clone of this functor.
Implements lti::functor.
dummyFunctor& lti::dummyFunctor::copy | ( | const dummyFunctor & | other | ) |
Copy data of "other" functor.
other | the functor to be copied |
Reimplemented from lti::functor.
const parameters& lti::dummyFunctor::getParameters | ( | ) | const |
Returns used parameters.
Reimplemented from lti::functor.
virtual const char* lti::dummyFunctor::getTypeName | ( | ) | const [virtual] |
Returns the name of this type ("dummyFunctor").
Reimplemented from lti::functor.
dummyFunctor& lti::dummyFunctor::operator= | ( | const dummyFunctor & | other | ) |