SHOGUN
v1.1.0
|
Collection of Hashing Functions.
This class implements a number of hashing functions like crc32, md5 and murmur.
Public Member Functions | |
CHash () | |
virtual | ~CHash () |
virtual const char * | get_name () const |
![]() | |
CSGObject () | |
CSGObject (const CSGObject &orig) | |
virtual | ~CSGObject () |
virtual bool | is_generic (EPrimitiveType *generic) const |
template<class T > | |
void | set_generic () |
void | unset_generic () |
virtual void | print_serializable (const char *prefix="") |
virtual bool | save_serializable (CSerializableFile *file, const char *prefix="") |
virtual bool | load_serializable (CSerializableFile *file, const char *prefix="") |
void | set_global_io (SGIO *io) |
SGIO * | get_global_io () |
void | set_global_parallel (Parallel *parallel) |
Parallel * | get_global_parallel () |
void | set_global_version (Version *version) |
Version * | get_global_version () |
SGVector< char * > | get_modelsel_names () |
char * | get_modsel_param_descr (const char *param_name) |
index_t | get_modsel_param_index (const char *param_name) |
Static Public Member Functions | |
static uint32_t | crc32 (uint8_t *data, int32_t len) |
static void | MD5 (unsigned char *x, unsigned l, unsigned char *buf) |
static uint32_t | MurmurHash2 (uint8_t *data, int32_t len, uint32_t seed) |
static uint32_t | IncrementalMurmurHash2 (uint8_t data, uint32_t h) |
static uint32_t | MurmurHashString (substring s, uint32_t h) |
Static Protected Member Functions | |
static void | MD5Init (struct MD5Context *context) |
static void | MD5Update (struct MD5Context *context, unsigned char const *buf, unsigned len) |
static void | MD5Final (unsigned char digest[16], struct MD5Context *context) |
static void | MD5Transform (uint32_t buf[4], uint32_t const in[16]) |
Additional Inherited Members | |
![]() | |
SGIO * | io |
Parallel * | parallel |
Version * | version |
Parameter * | m_parameters |
Parameter * | m_model_selection_parameters |
![]() | |
virtual void | load_serializable_pre () throw (ShogunException) |
virtual void | load_serializable_post () throw (ShogunException) |
virtual void | save_serializable_pre () throw (ShogunException) |
virtual void | save_serializable_post () throw (ShogunException) |
|
static |
|
virtual |
|
static |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |
|
static |