14 using namespace shogun;
22 EStructType stype, EPrimitiveType ptype)
48 char* buffer=
SG_MALLOC(
char, buffer_length);
61 void SGParamInfo::init()
124 void ParameterMapElement::init()
135 void ParameterMap::init()
158 SG_SERROR(
"Call finalize_map() before calling get()\n");
167 index_t index=CMath::binary_search<ParameterMapElement> (array, dummy);
185 CMath::qsort<ParameterMapElement> (array);
void put(SGParamInfo *key, SGParamInfo *value)
Class that holds informations about a certain parameter of an CSGObject. Contains name...
bool operator<(const SGParamInfo &other) const
virtual ~ParameterMapElement()
bool operator>(const ParameterMapElement &other) const
bool operator<(const ParameterMapElement &other) const
SGParamInfo * duplicate() const
Datatypes that shogun supports.
SGParamInfo * get(SGParamInfo *key) const
Class to hold instances of a parameter map. Each element contains a key and a value, which are of type SGParamInfo. May be compared to each other based on their keys.
bool operator==(const SGParamInfo &other) const
bool operator>(const SGParamInfo &other) const
void to_string(char *dest, size_t n) const
DynArray< ParameterMapElement * > m_map_elements
bool operator==(const ParameterMapElement &other) const
#define SG_MALLOC(type, len)