10 #ifndef __SUBSETSTACK_H_
11 #define __SUBSETSTACK_H_
52 inline const char*
get_name()
const {
return "SubsetStack"; }
83 SG_WARNING(
"CSubsetStack::get_size(): No subset in stack!\n")
107 return m_active_subset ? m_active_subset->m_subset_idx.
vector[idx] : idx;
Wrapper class for an index subset which is used by SubsetStack.
const char * get_name() const
int32_t get_num_elements() const
class to add subset support to another class. A CSubsetStackStack instance should be added and wrappe...
CSubset * get_last_subset() const
virtual void add_subset(SGVector< index_t > subset)
Class SGObject is the base class of all shogun objects.
virtual void remove_all_subsets()
virtual void add_subset_in_place(SGVector< index_t > subset)
index_t subset_idx_conversion(index_t idx) const
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
all of classes and functions are contained in the shogun namespace
virtual bool has_subsets() const
virtual void remove_subset()