Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::SubInputVMatrix Class Reference

#include <SubInputVMatrix.h>

Inheritance diagram for PLearn::SubInputVMatrix:

Inheritance graph
[legend]
Collaboration diagram for PLearn::SubInputVMatrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SubInputVMatrix ()
virtual void build ()
 Should call simply inherited::build(), then this class's build_().

virtual void makeDeepCopyFromShallowCopy (map< const void *, void * > &copies)
 Transforms a shallow copy into a deep copy.

 PLEARN_DECLARE_OBJECT (SubInputVMatrix)
 Declares name and deepCopy methods.


Public Attributes

int j_start
int n_inputs

Protected Member Functions

virtual void getNewRow (int i, const Vec &v) const
 This is the only method requiring implementation.


Static Protected Member Functions

void declareOptions (OptionList &ol)
 Declares this class' options.


Private Types

typedef SourceVMatrix inherited

Private Member Functions

void build_ ()
 This does the actual building.


Member Typedef Documentation

typedef SourceVMatrix PLearn::SubInputVMatrix::inherited [private]
 

Reimplemented from PLearn::SourceVMatrix.

Definition at line 54 of file SubInputVMatrix.h.

Referenced by SubInputVMatrix().


Constructor & Destructor Documentation

PLearn::SubInputVMatrix::SubInputVMatrix  ) 
 

Definition at line 51 of file SubInputVMatrix.cc.

References inherited.


Member Function Documentation

void PLearn::SubInputVMatrix::build  )  [virtual]
 

Should call simply inherited::build(), then this class's build_().

This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 82 of file SubInputVMatrix.cc.

References build_().

void PLearn::SubInputVMatrix::build_  )  [private]
 

This does the actual building.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 91 of file SubInputVMatrix.cc.

References j_start, n_inputs, PLERROR, PLearn::SourceVMatrix::setMetaInfoFromSource(), and PLearn::VMat::width().

Referenced by build().

void PLearn::SubInputVMatrix::declareOptions OptionList ol  )  [static, protected]
 

Declares this class' options.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 67 of file SubInputVMatrix.cc.

References PLearn::declareOption(), and PLearn::OptionList.

void PLearn::SubInputVMatrix::getNewRow int  i,
const Vec v
const [protected, virtual]
 

This is the only method requiring implementation.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 112 of file SubInputVMatrix.cc.

References PLearn::VMat::getSubRow(), j_start, PLearn::TVec< T >::length(), n_inputs, PLearn::TVec< T >::subVec(), and PLearn::Vec.

void PLearn::SubInputVMatrix::makeDeepCopyFromShallowCopy map< const void *, void * > &  copies  )  [virtual]
 

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::SourceVMatrix.

Definition at line 126 of file SubInputVMatrix.cc.

PLearn::SubInputVMatrix::PLEARN_DECLARE_OBJECT SubInputVMatrix   ) 
 

Declares name and deepCopy methods.


Member Data Documentation

int PLearn::SubInputVMatrix::j_start
 

Definition at line 68 of file SubInputVMatrix.h.

Referenced by build_(), and getNewRow().

int PLearn::SubInputVMatrix::n_inputs
 

Definition at line 69 of file SubInputVMatrix.h.

Referenced by build_(), and getNewRow().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:26:49 2004 for PLearn by doxygen 1.3.7