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

lti::stdLayer::initFunctor Class Reference

This class and all it's derived classes should initialize the network layer. More...

#include <ltiStdLayer.h>

Inheritance diagram for lti::stdLayer::initFunctor:
Inheritance graph
[legend]
Collaboration diagram for lti::stdLayer::initFunctor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 initFunctor ()
virtual ~initFunctor ()
virtual bool operator() (dmatrix &weights, ivector &outID)=0

Protected Member Functions

ivector uniqueIDs (const ivector &allIDs) const
dmatrix classVectors (const dmatrix &allVectors, const ivector &allIDs, int nbViews, int id) const

Detailed Description

This class and all it's derived classes should initialize the network layer.


Constructor & Destructor Documentation

lti::stdLayer::initFunctor::initFunctor (  )  [inline]

default constructor

virtual lti::stdLayer::initFunctor::~initFunctor (  )  [inline, virtual]

destructor


Member Function Documentation

dmatrix lti::stdLayer::initFunctor::classVectors ( const dmatrix allVectors,
const ivector allIDs,
int  nbViews,
int  id 
) const [protected]

Returns all train vectors of the given class.

Parameters:
allVectors the training vectors are in the rows of this matrix
allIDs IDs for the training vectors
nbViews number of views per object
id the ID for which the features are returned
virtual bool lti::stdLayer::initFunctor::operator() ( dmatrix weights,
ivector outID 
) [pure virtual]
ivector lti::stdLayer::initFunctor::uniqueIDs ( const ivector allIDs  )  const [protected]

Returns the unique IDs in a vector.


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

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