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

lti::pdmGenerator Class Reference

This class creates a pointDistributionModel (PDM) given a set of shapes of type pointDistributionModel::shape. More...

#include <ltiPdmGenerator.h>

Inheritance diagram for lti::pdmGenerator:
Inheritance graph
[legend]
Collaboration diagram for lti::pdmGenerator:
Collaboration graph
[legend]

List of all members.

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
pdmGeneratorcopy (const pdmGenerator &other)
virtual functorclone () const
const parametersgetParameters () const
pointDistributionModel apply ()
Training shape set

These members are for managing the training shape set.



void clear ()
void consider (const pointDistributionModel::shape &theShape)
void consider (const std::list< pointDistributionModel::shape > &theShapes)
int getN () const

Detailed Description

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.


Constructor & Destructor Documentation

lti::pdmGenerator::pdmGenerator (  ) 

default constructor

lti::pdmGenerator::pdmGenerator ( const pdmGenerator other  ) 

copy constructor

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

destructor


Member Function Documentation

pointDistributionModel lti::pdmGenerator::apply (  ) 

generate pointDistributionModel for the given dimension

Returns:
a pointDistributionModel
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.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

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.


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

Generated on Sat Apr 10 15:27:40 2010 for LTI-Lib by Doxygen 1.6.1