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 293ae3c811
commit 32829274c4

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);