11 #ifndef _STRUCTURED_LABELS__H__
12 #define _STRUCTURED_LABELS__H__
98 virtual const char*
get_name()
const {
return "StructuredLabels"; }
virtual const char * get_name() const
Base class of the labels used in Structured Output (SO) problems.
The class Labels models labels, i.e. class assignments of objects.
structured labels (e.g. sequences, trees) used in Structured Output problems
CDynamicObjectArray * get_labels() const
virtual ~CStructuredLabels()
virtual ELabelType get_label_type() const
CDynamicObjectArray * m_labels
EStructuredDataType m_sdt
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
virtual void add_label(CStructuredData *label)
all of classes and functions are contained in the shogun namespace
virtual int32_t get_num_labels() const
virtual CStructuredData * get_label(int32_t idx)
EStructuredDataType get_structured_data_type()
virtual void ensure_valid(const char *context=NULL)
Base class of the components of StructuredLabels.
virtual bool set_label(int32_t idx, CStructuredData *label)