Loading...
Searching...
No Matches
bloom_filter_strong_types.hpp
Go to the documentation of this file.
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <seqan3/core/detail/strong_type.hpp>
//Todo: When removing search/dream_index/interleaved_bloom_filter.hpp, the contents of this header can be moved
// into utility/bloom_filter/bloom_filter.hpp
namespace seqan3
{
enum data_layout : bool
{
uncompressed,
compressed
};
struct bin_count : public detail::strong_type<size_t, bin_count, detail::strong_type_skill::convert>
{
using detail::strong_type<size_t, bin_count, detail::strong_type_skill::convert>::strong_type;
};
struct bin_size : public detail::strong_type<size_t, bin_size, detail::strong_type_skill::convert>
{
using detail::strong_type<size_t, bin_size, detail::strong_type_skill::convert>::strong_type;
};
struct hash_function_count : public detail::strong_type<size_t, hash_function_count, detail::strong_type_skill::convert>
{
using detail::strong_type<size_t, hash_function_count, detail::strong_type_skill::convert>::strong_type;
};
struct bin_index : public detail::strong_type<size_t, bin_index, detail::strong_type_skill::convert>
{
using detail::strong_type<size_t, bin_index, detail::strong_type_skill::convert>::strong_type;
};
} // 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