SHOGUN
v1.1.0
|
class for adding subset support to a class. Provides an interface for getting/setting subset_matrices and index conversion. Do not inherit from this class, use it as variable. Write wrappers for all get/set functions.
Public Member Functions | |
CSubset () | |
CSubset (SGVector< index_t > subset_idx) | |
virtual | ~CSubset () |
const char * | get_name () const |
const index_t | get_size () const |
CSubset * | duplicate () |
index_t | subset_idx_conversion (index_t idx) const |
![]() | |
CSGObject () | |
CSGObject (const CSGObject &orig) | |
virtual | ~CSGObject () |
virtual bool | is_generic (EPrimitiveType *generic) const |
template<class T > | |
void | set_generic () |
void | unset_generic () |
virtual void | print_serializable (const char *prefix="") |
virtual bool | save_serializable (CSerializableFile *file, const char *prefix="") |
virtual bool | load_serializable (CSerializableFile *file, const char *prefix="") |
void | set_global_io (SGIO *io) |
SGIO * | get_global_io () |
void | set_global_parallel (Parallel *parallel) |
Parallel * | get_global_parallel () |
void | set_global_version (Version *version) |
Version * | get_global_version () |
SGVector< char * > | get_modelsel_names () |
char * | get_modsel_param_descr (const char *param_name) |
index_t | get_modsel_param_index (const char *param_name) |
Additional Inherited Members | |
![]() | |
SGIO * | io |
Parallel * | parallel |
Version * | version |
Parameter * | m_parameters |
Parameter * | m_model_selection_parameters |
![]() | |
virtual void | load_serializable_pre () throw (ShogunException) |
virtual void | load_serializable_post () throw (ShogunException) |
virtual void | save_serializable_pre () throw (ShogunException) |
virtual void | save_serializable_post () throw (ShogunException) |
CSubset | ( | ) |
default constructor, do not use
Definition at line 17 of file Subset.cpp.
constructor
subset_idx | vector of subset indices, is deleted in destructor |
Definition at line 22 of file Subset.cpp.
|
virtual |
destructor
Definition at line 27 of file Subset.cpp.
CSubset * duplicate | ( | ) |
Definition at line 31 of file Subset.cpp.
|
virtual |
const index_t get_size | ( | ) | const |