vector adapter example updated to be used with brz algorithm

This commit is contained in:
fc_botelho 2006-07-27 12:28:41 +00:00
parent dafb408c10
commit 79377900f9

View File

@ -14,7 +14,6 @@ int main(int argc, char **argv)
//Create minimal perfect hash function using the default (chm) algorithm. //Create minimal perfect hash function using the default (chm) algorithm.
cmph_config_t *config = cmph_config_new(source); cmph_config_t *config = cmph_config_new(source);
cmph_config_set_graphsize(config, 1.0); // this is not required, just to get a smaller function
cmph_config_set_algo(config, CMPH_BRZ); cmph_config_set_algo(config, CMPH_BRZ);
cmph_config_set_mphf_fd(config, mphf_fd); cmph_config_set_mphf_fd(config, mphf_fd);
cmph_t *hash = cmph_new(config); cmph_t *hash = cmph_new(config);