|   | latest version v1.9 - last update 10 Apr 2010 |   | 
the parameters for the class meansFunctor More...
#include <ltiSerialStatsExtFunctor.h>


| Public Types | |
| enum | eVarianceType { Empirical = 0, Maxlikely = 1 } | 
| Public Member Functions | |
| parameters () | |
| parameters (const parameters &other) | |
| ~parameters () | |
| const char * | getTypeName () const | 
| parameters & | copy (const parameters &other) | 
| parameters & | operator= (const parameters &other) | 
| virtual functor::parameters * | clone () const | 
| virtual bool | write (ioHandler &handler, const bool complete=true) const | 
| virtual bool | read (ioHandler &handler, const bool complete=true) | 
| Public Attributes | |
| eVarianceType | type | 
the parameters for the class meansFunctor
| enum lti::serialStatsExtFunctor::parameters::eVarianceType | 
| lti::serialStatsExtFunctor< T, U >::parameters::parameters | ( | void | ) |  [inline] | 
default constructor
Reimplemented from lti::statisticsFunctor::parameters.
References lti::serialStatsExtFunctor< T, U >::parameters::Empirical, and lti::serialStatsExtFunctor< T, U >::parameters::type.
Referenced by lti::serialStatsExtFunctor< T, U >::parameters::clone().
| lti::serialStatsExtFunctor< T, U >::parameters::parameters | ( | const parameters & | other | ) |  [inline] | 
copy constructor
| other | the parameters object to be copied | 
Reimplemented from lti::statisticsFunctor::parameters.
References lti::serialStatsExtFunctor< T, U >::parameters::copy().
| lti::serialStatsExtFunctor< T, U >::parameters::~parameters | ( | ) |  [inline, virtual] | 
destructor
Reimplemented from lti::statisticsFunctor::parameters.
| virtual functor::parameters* lti::serialStatsExtFunctor< T, U >::parameters::clone | ( | ) | const  [inline, virtual] | 
returns a pointer to a clone of the parameters
Reimplemented from lti::statisticsFunctor::parameters.
References lti::serialStatsExtFunctor< T, U >::parameters::parameters().
| parameters& lti::serialStatsExtFunctor< T, U >::parameters::copy | ( | const parameters & | other | ) |  [inline] | 
copy the contents of a parameters object
| other | the parameters object to be copied | 
Reimplemented from lti::statisticsFunctor::parameters.
References lti::statisticsFunctor::parameters::copy(), and lti::serialStatsExtFunctor< T, U >::parameters::type.
Referenced by lti::serialStatsExtFunctor< T, U >::parameters::operator=(), and lti::serialStatsExtFunctor< T, U >::parameters::parameters().
| const char* lti::serialStatsExtFunctor< T, U >::parameters::getTypeName | ( | void | ) | const  [inline, virtual] | 
returns name of this type
Reimplemented from lti::statisticsFunctor::parameters.
| parameters& lti::serialStatsExtFunctor< T, U >::parameters::operator= | ( | const parameters & | other | ) |  [inline] | 
copy the contents of a parameters object
| other | the parameters object to be copied | 
References lti::serialStatsExtFunctor< T, U >::parameters::copy().
| virtual bool lti::serialStatsExtFunctor< T, U >::parameters::read | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) |  [inline, virtual] | 
read the parameters from the given ioHandler
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also read, otherwise only the data block will be read. | 
Reimplemented from lti::functor::parameters.
References lti::serialStatsExtFunctor< T, U >::parameters::Empirical, lti::serialStatsExtFunctor< T, U >::parameters::Maxlikely, lti::ioHandler::readBegin(), lti::ioHandler::readEnd(), and lti::serialStatsExtFunctor< T, U >::parameters::type.
| virtual bool lti::serialStatsExtFunctor< T, U >::parameters::write | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | 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::functor::parameters.
References lti::serialStatsExtFunctor< T, U >::parameters::Empirical, lti::serialStatsExtFunctor< T, U >::parameters::type, lti::ioHandler::writeBegin(), and lti::ioHandler::writeEnd().
| eVarianceType lti::serialStatsExtFunctor< T, U >::parameters::type | 
The type of the variance computation.
If type == empirical, the empirical variance or covariance matrix is computed (division by number of samples minus 1), otherwise, the maximum likelihood estimator is computed (division by number of samples)
Referenced by lti::serialStatsExtFunctor< T, U >::parameters::copy(), lti::serialStatsExtFunctor< T, U >::parameters::parameters(), lti::serialStatsExtFunctor< T, U >::parameters::read(), and lti::serialStatsExtFunctor< T, U >::parameters::write().