latest version v1.9 - last update 10 Apr 2010 |
This class creates a pointDistributionModel (PDM) given a set of shapes of type pointDistributionModel::shape. More...
#include <ltiPdmGenerator.h>
Classes | |
class | parameters |
the parameters for the class pdmGenerator More... | |
Public Member Functions | |
pdmGenerator () | |
pdmGenerator (const pdmGenerator &other) | |
virtual | ~pdmGenerator () |
virtual const char * | getTypeName () const |
pdmGenerator & | copy (const pdmGenerator &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
pointDistributionModel | apply () |
Training shape set | |
void | clear () |
void | consider (const pointDistributionModel::shape &theShape) |
void | consider (const std::list< pointDistributionModel::shape > &theShapes) |
int | getN () const |
This class creates a pointDistributionModel (PDM) given a set of shapes of type pointDistributionModel::shape.
All shapes must have an equal number of points. These are ordered and should ideally have a fixed correspondence across different shapes.
lti::pdmGenerator::pdmGenerator | ( | ) |
default constructor
lti::pdmGenerator::pdmGenerator | ( | const pdmGenerator & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::pdmGenerator::~pdmGenerator | ( | ) | [virtual] |
destructor
pointDistributionModel lti::pdmGenerator::apply | ( | ) |
generate pointDistributionModel for the given dimension
void lti::pdmGenerator::clear | ( | ) |
clear all considered shapes
virtual functor* lti::pdmGenerator::clone | ( | ) | const [virtual] |
returns a pointer to a clone of this functor.
Implements lti::functor.
void lti::pdmGenerator::consider | ( | const std::list< pointDistributionModel::shape > & | theShapes | ) |
take list of shapes into consideration
void lti::pdmGenerator::consider | ( | const pointDistributionModel::shape & | theShape | ) |
take shape into consideration
pdmGenerator& lti::pdmGenerator::copy | ( | const pdmGenerator & | other | ) |
copy data of "other" functor.
other | the functor to be copied |
Reimplemented from lti::functor.
int lti::pdmGenerator::getN | ( | ) | const |
return number of shapes considered so far (not the number of points!).
const parameters& lti::pdmGenerator::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::functor.
virtual const char* lti::pdmGenerator::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("pdmGenerator")
Reimplemented from lti::functor.