SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
ParameterMapElement Class Reference

Detailed Description

Class to hold instances of a parameter map. Each element contains a key and a set of values, which each are of type SGParamInfo. May be compared to each other based on their keys.

Definition at line 110 of file ParameterMap.h.

Public Member Functions

 ParameterMapElement ()
 ParameterMapElement (const SGParamInfo *key, DynArray< const SGParamInfo * > *values)
virtual ~ParameterMapElement ()
bool operator== (const ParameterMapElement &other) const
bool operator< (const ParameterMapElement &other) const
bool operator> (const ParameterMapElement &other) const
virtual const char * get_name () const

Public Attributes

const SGParamInfom_key
DynArray< const SGParamInfo * > * m_values

Constructor & Destructor Documentation

constructor

Definition at line 196 of file ParameterMap.cpp.

ParameterMapElement ( const SGParamInfo key,
DynArray< const SGParamInfo * > *  values 
)

constructor

Parameters
keykey of this element
valuesarray of value of this element

Definition at line 202 of file ParameterMap.cpp.

~ParameterMapElement ( )
virtual

destructor

Definition at line 209 of file ParameterMap.cpp.

Member Function Documentation

virtual const char* get_name ( ) const
virtual
Returns
name of the SG_SERIALIZABLE

Definition at line 137 of file ParameterMap.h.

bool operator< ( const ParameterMapElement other) const

operator for comparison (by m_key)

Definition at line 227 of file ParameterMap.cpp.

bool operator== ( const ParameterMapElement other) const

operator for comparison, true iff m_key is equal

Definition at line 222 of file ParameterMap.cpp.

bool operator> ( const ParameterMapElement other) const

operator for comparison (by m_key)

Definition at line 232 of file ParameterMap.cpp.

Member Data Documentation

const SGParamInfo* m_key

key

Definition at line 144 of file ParameterMap.h.

DynArray<const SGParamInfo*>* m_values

values

Definition at line 147 of file ParameterMap.h.


The documentation for this class was generated from the following files:

SHOGUN Machine Learning Toolbox - Documentation