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

lti::lvq::trainFunctor Class Reference

base class of training functors for the lvq networks More...

#include <ltiLvq.h>

Inheritance diagram for lti::lvq::trainFunctor:
Inheritance graph
[legend]
Collaboration diagram for lti::lvq::trainFunctor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 trainFunctor (const stdLayer::distancePropFunctor &theProp)
virtual void setLearnFactor (const double &lrFac)
virtual void setWindowSize (const double &winSize)

Protected Member Functions

void twoMinIndex (const dvector &vct, int &min1, int &min2)

Protected Attributes

stdLayer::distancePropFunctor prop
dvector delta
dvector delta2
ivector calls
double learnFactor
double windowSize
bool firstUse

Detailed Description

base class of training functors for the lvq networks


Constructor & Destructor Documentation

lti::lvq::trainFunctor::trainFunctor ( const stdLayer::distancePropFunctor theProp  )  [inline]

constructor

Parameters:
theProp the distance propagation functor

Member Function Documentation

virtual void lti::lvq::trainFunctor::setLearnFactor ( const double &  lrFac  )  [virtual]

set the learn rate factor

virtual void lti::lvq::trainFunctor::setWindowSize ( const double &  winSize  )  [virtual]

set the window size

void lti::lvq::trainFunctor::twoMinIndex ( const dvector vct,
int &  min1,
int &  min2 
) [protected]

get the indices of the two minimum values of the vector min1 <= min2


Member Data Documentation

calls vector

delta vector

delta2 vector

first use of the functor

lerning rate

distance propagation functor

window size


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

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