#include <DBSplitter.h>
Inheritance diagram for PLearn::DBSplitter:


Public Member Functions | |
| DBSplitter () | |
| 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 (DBSplitter) | |
| 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 > | databases |
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 DBSplitter.h. |
|
|
Definition at line 50 of file DBSplitter.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 75 of file DBSplitter.cc. References build_(). |
|
|
This does the actual building.
Reimplemented from PLearn::Object. Definition at line 70 of file DBSplitter.cc. Referenced by build(). |
|
|
Declares this class' options.
Reimplemented from PLearn::Object. Definition at line 60 of file DBSplitter.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
|
Returns split number i.
Implements PLearn::Splitter. Definition at line 105 of file DBSplitter.cc. References PLearn::TVec< T >::append(), databases, and k. |
|
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::Splitter. Definition at line 81 of file DBSplitter.cc. References PLERROR. |
|
|
Returns the number of sets per split.
Implements PLearn::Splitter. Definition at line 100 of file DBSplitter.cc. |
|
|
Returns the number of available different "splits".
Implements PLearn::Splitter. Definition at line 95 of file DBSplitter.cc. References databases, and PLearn::TVec< string >::size(). |
|
|
Declares name and deepCopy methods.
|
|
|
Definition at line 73 of file DBSplitter.h. Referenced by getSplit(), and nsplits(). |
1.3.7