Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef _VW_CONSTANTS_H__
00016 #define _VW_CONSTANTS_H__
00017
00018 namespace shogun
00019 {
00021 typedef uint32_t (*hash_func_t)(substring, uint32_t);
00022
00024 typedef uint32_t vw_size_t;
00025
00027 const int32_t quadratic_constant = 27942141;
00028
00030 const int32_t constant_hash = 11650396;
00031
00033 const uint32_t hash_base = 97562527;
00034
00035 }
00036
00037 #endif // _VW_CONSTANTS_H__