SeqAn3
3.4.0
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Loading...
Searching...
No Matches
bloom_filter_strong_types.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
9
10
#pragma once
11
12
#include <
seqan3/core/detail/strong_type.hpp
>
13
14
//Todo: When removing search/dream_index/interleaved_bloom_filter.hpp, the contents of this header can be moved
15
// into utility/bloom_filter/bloom_filter.hpp
16
17
namespace
seqan3
18
{
19
22
enum
data_layout
:
bool
23
{
24
uncompressed
,
25
compressed
26
};
27
30
struct
bin_count
:
public
detail::strong_type<size_t, bin_count, detail::strong_type_skill::convert>
31
{
32
using
detail::strong_type<size_t,
bin_count
, detail::strong_type_skill::convert>::strong_type;
33
};
34
37
struct
bin_size
:
public
detail::strong_type<size_t, bin_size, detail::strong_type_skill::convert>
38
{
39
using
detail::strong_type<size_t,
bin_size
, detail::strong_type_skill::convert>::strong_type;
40
};
41
44
struct
hash_function_count
:
public
detail::strong_type<size_t, hash_function_count, detail::strong_type_skill::convert>
45
{
46
using
detail::strong_type<size_t,
hash_function_count
, detail::strong_type_skill::convert>::strong_type;
47
};
48
51
struct
bin_index
:
public
detail::strong_type<size_t, bin_index, detail::strong_type_skill::convert>
52
{
53
using
detail::strong_type<size_t,
bin_index
, detail::strong_type_skill::convert>::strong_type;
54
};
55
56
}
// namespace seqan3
seqan3::data_layout
data_layout
Determines if the Interleaved Bloom Filter is compressed.
Definition
bloom_filter_strong_types.hpp:23
seqan3::uncompressed
@ uncompressed
The Interleaved Bloom Filter is uncompressed.
Definition
bloom_filter_strong_types.hpp:24
seqan3::compressed
@ compressed
The Interleaved Bloom Filter is compressed.
Definition
bloom_filter_strong_types.hpp:25
seqan3
The main SeqAn3 namespace.
Definition
aligned_sequence_concept.hpp:26
strong_type.hpp
Provides basic data structure for strong types.
seqan3::bin_count
A strong type that represents the number of bins for the seqan3::interleaved_bloom_filter.
Definition
bloom_filter_strong_types.hpp:31
seqan3::bin_index
A strong type that represents the bin index for the seqan3::interleaved_bloom_filter.
Definition
bloom_filter_strong_types.hpp:52
seqan3::bin_size
A strong type that represents the number of bits for each bin in the seqan3::interleaved_bloom_filter...
Definition
bloom_filter_strong_types.hpp:38
seqan3::hash_function_count
A strong type that represents the number of hash functions for the seqan3::interleaved_bloom_filter.
Definition
bloom_filter_strong_types.hpp:45
Hide me
Version:
seqan3
utility
bloom_filter
bloom_filter_strong_types.hpp
Generated on
for SeqAn3 by
1.17.0