latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class similarityFunctor More...
#include <ltiEuclideanSimilarity.h>
Public Types | |
enum | eEuclideanSimilarityType { Inverse, Exponential } |
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 | |
eEuclideanSimilarityType | type |
the parameters for the class similarityFunctor
enum lti::euclideanSimilarity::parameters::eEuclideanSimilarityType |
lti::euclideanSimilarity< T >::parameters::parameters | ( | void | ) | [inline] |
default constructor
Reimplemented from lti::similarityFunctor< T >::parameters.
References lti::similarityFunctor< T >::parameters::rowWise.
Referenced by lti::euclideanSimilarity< T >::parameters::clone().
lti::euclideanSimilarity< T >::parameters::parameters | ( | const parameters & | other | ) | [inline] |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::similarityFunctor< T >::parameters.
References lti::euclideanSimilarity< T >::parameters::copy().
virtual lti::euclideanSimilarity< T >::parameters::~parameters | ( | ) | [inline, virtual] |
destructor
Reimplemented from lti::similarityFunctor< T >::parameters.
virtual functor::parameters* lti::euclideanSimilarity< T >::parameters::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::similarityFunctor< T >::parameters.
References lti::euclideanSimilarity< T >::parameters::parameters().
parameters& lti::euclideanSimilarity< T >::parameters::copy | ( | const parameters & | other | ) | [inline] |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::similarityFunctor< T >::parameters.
References lti::similarityFunctor< T >::parameters::rowWise.
Referenced by lti::euclideanSimilarity< T >::parameters::parameters().
const char* lti::euclideanSimilarity< T >::parameters::getTypeName | ( | void | ) | const [inline, virtual] |
returns name of this type
Reimplemented from lti::similarityFunctor< T >::parameters.
bool lti::euclideanSimilarity< 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::similarityFunctor< T >::parameters.
References lti::euclideanSimilarity< T >::parameters::Exponential, lti::euclideanSimilarity< T >::parameters::Inverse, lti::ioHandler::readBegin(), lti::ioHandler::readEnd(), and lti::euclideanSimilarity< T >::parameters::type.
bool lti::euclideanSimilarity< 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::similarityFunctor< T >::parameters.
References lti::euclideanSimilarity< T >::parameters::Exponential, lti::euclideanSimilarity< T >::parameters::Inverse, and lti::euclideanSimilarity< T >::parameters::type.
eEuclideanSimilarityType lti::euclideanSimilarity< T >::parameters::type |
determine how the euclidean distance is used.
Default value: Inverse
Referenced by lti::euclideanSimilarity< T >::parameters::read(), and lti::euclideanSimilarity< T >::parameters::write().