Documented changes made in bloom functions
This commit is contained in:
15
src/bloom.h
15
src/bloom.h
@ -9,7 +9,12 @@
|
||||
#define _BLOOM_H
|
||||
|
||||
|
||||
// TODO
|
||||
/** ***************************************************************************
|
||||
* Added by celine.mercier@metabarcoding.org
|
||||
*
|
||||
* Bloom filter error rate wanted.
|
||||
*
|
||||
*/
|
||||
#define BLOOM_FILTER_ERROR_RATE (0.001)
|
||||
|
||||
|
||||
@ -72,7 +77,13 @@ struct bloom
|
||||
typedef struct bloom bloom_t;
|
||||
|
||||
|
||||
// TODO
|
||||
/** ***************************************************************************
|
||||
* Added by celine.mercier@metabarcoding.org
|
||||
*
|
||||
* This function computes the size needed by the bloom filter
|
||||
* depending on the number of entries and the error rate.
|
||||
*
|
||||
*/
|
||||
int bloom_filter_size(int entries, double error);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user