LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::kMeansClustering::parameters Class Reference

Parameters for kMeansClustering. More...

#include <ltiKMeansClustering.h>

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
virtual ~parameters ()
const char * getTypeName () const
parameterscopy (const parameters &other)
virtual classifier::parametersclone () const
virtual bool write (ioHandler &handler, const bool complete=true) const
virtual bool read (ioHandler &handler, const bool complete=true)

Public Attributes

int numberOfClusters

Detailed Description

Parameters for kMeansClustering.

Only batch and sequential are allowed as values for clusterMode. Only other parameter is numberOfClusters.


Constructor & Destructor Documentation

lti::kMeansClustering::parameters::parameters (  ) 

default constructor

lti::kMeansClustering::parameters::parameters ( const parameters other  ) 

copy constructor

Parameters:
other the parameters object to be copied
virtual lti::kMeansClustering::parameters::~parameters (  )  [virtual]

destructor


Member Function Documentation

virtual classifier::parameters* lti::kMeansClustering::parameters::clone (  )  const [virtual]

returns a pointer to a clone of the parameters

parameters& lti::kMeansClustering::parameters::copy ( const parameters other  ) 

copy the contents of a parameters object

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object
const char* lti::kMeansClustering::parameters::getTypeName (  )  const

returns name of this type

virtual bool lti::kMeansClustering::parameters::read ( ioHandler handler,
const bool  complete = true 
) [virtual]

read the parameters from the given ioHandler

Parameters:
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.
Returns:
true if write was successful
virtual bool lti::kMeansClustering::parameters::write ( ioHandler handler,
const bool  complete = true 
) const [virtual]

write the parameters in the given ioHandler

Parameters:
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.
Returns:
true if write was successful

Member Data Documentation

the number of clusters (default 2)


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:26:52 2010 for LTI-Lib by Doxygen 1.6.1