#include <SubInputVMatrix.h>
Inheritance diagram for PLearn::SubInputVMatrix:
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. |
|
Reimplemented from PLearn::SourceVMatrix. Definition at line 54 of file SubInputVMatrix.h. Referenced by SubInputVMatrix(). |
|
Definition at line 51 of file SubInputVMatrix.cc. References inherited. |
|
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_(). |
|
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(). |
|
Declares this class' options.
Reimplemented from PLearn::SourceVMatrix. Definition at line 67 of file SubInputVMatrix.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
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. |
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::SourceVMatrix. Definition at line 126 of file SubInputVMatrix.cc. |
|
Declares name and deepCopy methods.
|
|
Definition at line 68 of file SubInputVMatrix.h. Referenced by build_(), and getNewRow(). |
|
Definition at line 69 of file SubInputVMatrix.h. Referenced by build_(), and getNewRow(). |