latest version v1.9 - last update 10 Apr 2010 |
parameters for clustering functors. More...
#include <ltiClustering.h>
Public Types | |
enum | eClusterMode |
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
virtual | ~parameters () |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
virtual classifier::parameters * | clone () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
eClusterMode | clusterMode |
parameters for clustering functors.
Provides a clusterMode which is of type eClusterMode
Different methods for clustering data using basically the same algorithm.
Not all clusterModes must be available for all clustering algorithms. See individual documentation. The different modes have the following meaning:
lti::clustering::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::unsupervisedClassifier::parameters.
Reimplemented in lti::DBScan< T >::parameters, and lti::MSTClustering< U >::parameters.
lti::clustering::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::unsupervisedClassifier::parameters.
Reimplemented in lti::DBScan< T >::parameters, and lti::MSTClustering< U >::parameters.
virtual lti::clustering::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::unsupervisedClassifier::parameters.
Reimplemented in lti::DBScan< T >::parameters, and lti::MSTClustering< U >::parameters.
virtual classifier::parameters* lti::clustering::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::classifier::parameters.
Reimplemented in lti::DBScan< T >::parameters, and lti::MSTClustering< U >::parameters.
parameters& lti::clustering::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::unsupervisedClassifier::parameters.
Reimplemented in lti::DBScan< T >::parameters, and lti::MSTClustering< U >::parameters.
Referenced by lti::MSTClustering< U >::parameters::copy(), and lti::DBScan< T >::parameters::copy().
const char* lti::clustering::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::unsupervisedClassifier::parameters.
Reimplemented in lti::DBScan< T >::parameters, and lti::MSTClustering< U >::parameters.
virtual bool lti::clustering::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [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 written, otherwise only the data block will be written. |
Reimplemented from lti::classifier::parameters.
Reimplemented in lti::DBScan< T >::parameters, and lti::MSTClustering< U >::parameters.
virtual bool lti::clustering::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [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::classifier::parameters.
Reimplemented in lti::DBScan< T >::parameters, and lti::MSTClustering< U >::parameters.
Kind of mode used for clustering.
(Default batch)