Factory that creates IBloom instances.
More...
#include <Bloom.hpp>
|
template<typename T > |
IBloom< T > * | createBloom (tools::misc::BloomKind kind, u_int64_t tai_bloom, size_t nbHash, size_t kmersize) |
|
template<typename T > |
IBloom< T > * | createBloom (const std::string &name, const std::string &sizeStr, const std::string &nbHashStr, const std::string &kmerSizeStr) |
|
Factory that creates IBloom instances.
Create a IBloom instance
- Parameters
-
[in] | kind | : kind of the IBloom instance to be created |
[in] | tai_bloom | : size of the Bloom filter (in bits) |
[in] | nbHash | : number of hash functions for the Bloom filter |
[in] | kmersize | : kmer size (used only for some implementations). |
IBloom<T>* createBloom |
( |
const std::string & |
name, |
|
|
const std::string & |
sizeStr, |
|
|
const std::string & |
nbHashStr, |
|
|
const std::string & |
kmerSizeStr |
|
) |
| |
|
inline |
Create a IBloom instance
- Parameters
-
[in] | name | : kind name of the IBloom instance to be created |
[in] | sizeStr | : size of the Bloom filter (in bits) as a string |
[in] | nbHashStr | : number of hash functions for the Bloom filter as a string |
[in] | kmerSizeStr | : kmer size (used only for some implementations) as a string. |
Singleton method
- Returns
- the singleton.
The documentation for this class was generated from the following file:
- /builds/workspace/publish-doc-api-gitlab/gatb-core/src/gatb/tools/collections/impl/Bloom.hpp