|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiCostFunction.h>
Inheritance diagram for lti::costFunction:


Public Member Functions | |
| costFunction () | |
| costFunction (const costFunction &other) | |
| virtual | ~costFunction () |
| virtual const char * | getTypeName () const |
| costFunction & | copy (const costFunction &other) |
| costFunction & | operator= (const costFunction &other) |
| virtual void | setSrc (const dmatrix &src, const ivector &srcIds) |
| virtual bool | apply (const ivector &in, double &dist) |
| virtual double | apply (const ivector &in) |
| virtual double | apply (const std::list< int > &in) |
| virtual bool | apply (const std::list< int > &in, double &value)=0 |
Protected Attributes | |
| dmatrix | pSrc |
| ivector | pSrcIds |
The cost functions are used to evaluate feature subsets of data sets. These cost functions are used by the feature selectors.
|
|
default constructor
|
|
|
copy constructor
|
|
|
destructor
|
|
||||||||||||
|
computes the cost function with the given subset of features
Implemented in lti::bhattacharyyaDistOfSubset, lti::mahalanobisDistOfSubset, and lti::recognitionRateOfSubset. |
|
|
computes the cost function with the given subset of features
|
|
|
computes the cost function with the given subset of features
|
|
||||||||||||
|
computes the cost function with the given subset of features
|
|
|
copy data of "other" functor.
|
|
|
returns the name of this type ("costFunction")
Reimplemented from lti::functor. Reimplemented in lti::bhattacharyyaDistOfSubset, lti::mahalanobisDistOfSubset, and lti::recognitionRateOfSubset. |
|
|
alias for copy member
|
|
||||||||||||
|
Set the src data points and ids used for computation of the cost function.
Reimplemented in lti::bhattacharyyaDistOfSubset, lti::mahalanobisDistOfSubset, and lti::recognitionRateOfSubset. |
|
|
the source data points
|
|
|
the src ids corresponding to the data points
|