#include <FrameAcc.h>


Public Member Functions | |
| FrameAcc () | |
| virtual | ~FrameAcc () |
| void | reset () |
| virtual void | accumulate (const Feature &f)=0 |
| virtual void | deaccumulate (const Feature &f)=0 |
| unsigned long | getCount () const |
| real_t | getDet () |
| const DoubleVector & | getMeanVect () |
| const DoubleVector & | getAccVect () const |
| unsigned long | getVectSize () const |
Protected Attributes | |
| unsigned long | _count |
| unsigned long | _vectSize |
| bool | _vectSizeDefined |
| DoubleVector | _accVect |
| DoubleVector | _meanVect |
| bool | _computed |
| bool | _stdComputed |
| real_t | _det |
| real_t | _cst |
Private Member Functions | |
| virtual void | computeAll ()=0 |
Abstract class used to compute mean and covariance of a set of features
Definition at line 82 of file FrameAcc.h.
| A::FrameAcc | ( | ) | [explicit] |
Definition at line 65 of file FrameAcc.cpp.
References reset().
| A::~FrameAcc | ( | ) | [virtual] |
Definition at line 100 of file FrameAcc.cpp.
| void A::accumulate | ( | const Feature & | f ) | [pure virtual] |
Accumulates a feature
| f | the feature |
Implemented in alize::FrameAccGD, and alize::FrameAccGF.
Definition at line 123 of file FrameAccGD.cpp.
References alize::Feature::getDataVector(), alize::Feature::getVectSize(), and alize::String::valueOf().
| void A::computeAll | ( | ) | [private, pure virtual] |
Implemented in alize::FrameAccGD, and alize::FrameAccGF.
Definition at line 207 of file FrameAccGD.cpp.
References alize::RealVector< T >::getArray().
| void A::deaccumulate | ( | const Feature & | f ) | [pure virtual] |
Delete an accumulated feature
| f | the feature to delete LIUM Modification |
Implemented in alize::FrameAccGD, and alize::FrameAccGF.
Definition at line 181 of file FrameAccGD.cpp.
References alize::Feature::getDataVector(), alize::Feature::getVectSize(), and alize::String::valueOf().
| const DoubleVector & A::getAccVect | ( | ) | const |
Returns the accumulated parameters vector
Definition at line 98 of file FrameAcc.cpp.
| unsigned long A::getCount | ( | ) | const |
Returns the count of accumulated features
Definition at line 76 of file FrameAcc.cpp.
| real_t A::getDet | ( | ) |
Returns the det, if need make computAll()
Definition at line 78 of file FrameAcc.cpp.
| const DoubleVector & A::getMeanVect | ( | ) |
Returns the parameters mean vector
Definition at line 91 of file FrameAcc.cpp.
| unsigned long A::getVectSize | ( | ) | const |
| void A::reset | ( | ) |
Definition at line 68 of file FrameAcc.cpp.
Referenced by FrameAcc().
DoubleVector alize::FrameAcc::_accVect [protected] |
Definition at line 129 of file FrameAcc.h.
bool alize::FrameAcc::_computed [protected] |
Definition at line 131 of file FrameAcc.h.
unsigned long alize::FrameAcc::_count [protected] |
Definition at line 126 of file FrameAcc.h.
real_t alize::FrameAcc::_cst [protected] |
constante
Definition at line 135 of file FrameAcc.h.
real_t alize::FrameAcc::_det [protected] |
determinant
Definition at line 134 of file FrameAcc.h.
DoubleVector alize::FrameAcc::_meanVect [protected] |
Definition at line 130 of file FrameAcc.h.
bool alize::FrameAcc::_stdComputed [protected] |
Definition at line 132 of file FrameAcc.h.
unsigned long alize::FrameAcc::_vectSize [protected] |
Definition at line 127 of file FrameAcc.h.
bool alize::FrameAcc::_vectSizeDefined [protected] |
Definition at line 128 of file FrameAcc.h.
1.7.2