#include <FilterSplitter.h>
Inheritance diagram for PLearn::FilterSplitter:
Public Member Functions | |
FilterSplitter () | |
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 (FilterSplitter) | |
Declares name and deepCopy methods. | |
virtual int | nsplits () const |
Returns the number of available different "splits". | |
virtual int | nSetsPerSplit () const |
Returns the number of sets per split. | |
virtual TVec< VMat > | getSplit (int i=0) |
Returns split number i. | |
Public Attributes | |
TVec< string > | filters |
The string that you would normally put inside the filter. | |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
Declares this class' options. | |
Private Types | |
typedef Splitter | inherited |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::Splitter. Definition at line 57 of file FilterSplitter.h. |
|
Definition at line 50 of file FilterSplitter.cc. |
|
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::Object. Definition at line 92 of file FilterSplitter.cc. References build_(). |
|
This does the actual building.
Reimplemented from PLearn::Object. Definition at line 80 of file FilterSplitter.cc. Referenced by build(). |
|
Declares this class' options.
Reimplemented from PLearn::Object. Definition at line 62 of file FilterSplitter.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
Returns split number i.
Implements PLearn::Splitter. Definition at line 116 of file FilterSplitter.cc. References PLearn::TVec< T >::append(), filters, k, PLearn::TVec< string >::length(), PLearn::newFilename(), and PLERROR. |
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::Splitter. Definition at line 98 of file FilterSplitter.cc. References PLearn::deepCopyField(), and filters. |
|
Returns the number of sets per split.
Implements PLearn::Splitter. Definition at line 110 of file FilterSplitter.cc. References filters, and PLearn::TVec< string >::length(). |
|
Returns the number of available different "splits".
Implements PLearn::Splitter. Definition at line 104 of file FilterSplitter.cc. |
|
Declares name and deepCopy methods.
|
|
The string that you would normally put inside the filter.
Definition at line 71 of file FilterSplitter.h. Referenced by getSplit(), makeDeepCopyFromShallowCopy(), and nSetsPerSplit(). |