latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class distanceFunctor More...
#include <ltiDistanceFunctor.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
virtual | ~parameters () |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
virtual functor::parameters * | clone () const |
bool | write (ioHandler &handler, const bool complete) const |
bool | read (ioHandler &handler, const bool complete) |
Public Attributes | |
bool | rowWise |
the parameters for the class distanceFunctor
lti::distanceFunctor< T >::parameters::parameters | ( | void | ) | [inline] |
default constructor
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::earthMoversDistance< W, C, D >::parameters.
References lti::distanceFunctor< T >::parameters::rowWise.
Referenced by lti::distanceFunctor< T >::parameters::clone().
lti::distanceFunctor< T >::parameters::parameters | ( | const parameters & | other | ) | [inline] |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::earthMoversDistance< W, C, D >::parameters.
References lti::distanceFunctor< T >::parameters::copy().
virtual lti::distanceFunctor< T >::parameters::~parameters | ( | ) | [inline, virtual] |
destructor
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::earthMoversDistance< W, C, D >::parameters.
virtual functor::parameters* lti::distanceFunctor< T >::parameters::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::earthMoversDistance< W, C, D >::parameters.
References lti::distanceFunctor< T >::parameters::parameters().
parameters& lti::distanceFunctor< T >::parameters::copy | ( | const parameters & | other | ) | [inline] |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::earthMoversDistance< W, C, D >::parameters.
References lti::functor::parameters::copy(), and lti::distanceFunctor< T >::parameters::rowWise.
Referenced by lti::distanceFunctor< T >::parameters::parameters().
const char* lti::distanceFunctor< T >::parameters::getTypeName | ( | void | ) | const [inline, virtual] |
returns name of this type
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::earthMoversDistance< W, C, D >::parameters.
bool lti::distanceFunctor< T >::parameters::read | ( | ioHandler & | handler, | |
const bool | complete | |||
) | [inline, virtual] |
read the parametersfrom the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::earthMoversDistance< W, C, D >::parameters.
References lti::ioHandler::readBegin(), lti::ioHandler::readEnd(), and lti::distanceFunctor< T >::parameters::rowWise.
bool lti::distanceFunctor< T >::parameters::write | ( | ioHandler & | handler, | |
const bool | complete | |||
) | const [inline, virtual] |
write the parameters in the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::linearAlgebraFunctor::parameters.
Reimplemented in lti::earthMoversDistance< W, C, D >::parameters.
References lti::distanceFunctor< T >::parameters::rowWise.
bool lti::distanceFunctor< T >::parameters::rowWise |
determine whether norms and distances between the row vectors in a matrix (true) or the column vectors in it (false) should be calculated.
Default value: true
Referenced by lti::distanceFunctor< T >::parameters::copy(), lti::distanceFunctor< T >::parameters::parameters(), lti::distanceFunctor< T >::parameters::read(), and lti::distanceFunctor< T >::parameters::write().