Skip to content

Commit

Permalink
Added get_last_subset doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Aug 21, 2012
1 parent 3a54e3f commit 64f1532
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/shogun/features/SubsetStack.h
Expand Up @@ -74,12 +74,16 @@ class CSubsetStack: public CSGObject
return m_active_subsets_stack->get_num_elements();
}

/** returns last (active) subset of the stack
*
* @return active subset
*/
CSubset* get_last_subset() const { return m_active_subset; }

/** returns the corresponding real index of a subset index
* Maps through all added subsets in stack.
*
* @ return array index of the provided subset index
* @return array index of the provided subset index
*/
inline index_t subset_idx_conversion(index_t idx) const
{
Expand Down

0 comments on commit 64f1532

Please sign in to comment.