Raptor
A fast and space-efficient pre-filter
Toggle main menu visibility
Setup
Usage
Quickstart
raptor prepare
raptor layout
raptor build
raptor search
Methods
First steps with Raptor
Create a layout with Raptor
Indexing with Raptor
Search with Raptor
API Reference (details)
Concept List
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
Functions
Variables
File List
File List
File Members
All
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Macros
Pages
Concepts
Loading...
Searching...
No Matches
threshold.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
10
#pragma once
11
12
#include <
raptor/threshold/precompute_correction.hpp
>
13
#include <
raptor/threshold/precompute_threshold.hpp
>
14
15
namespace
raptor::threshold
16
{
17
18
class
threshold
19
{
20
public
:
21
threshold
() =
default
;
22
threshold
(
threshold
const
&) =
default
;
23
threshold
& operator=(
threshold
const
&) =
default
;
24
threshold
(
threshold
&&) =
default
;
25
threshold
& operator=(
threshold
&&) =
default
;
26
~threshold
() =
default
;
27
28
threshold
(
threshold_parameters
const
& arguments);
29
30
size_t
get(
size_t
const
minimiser_count)
const
noexcept
;
31
32
private
:
33
enum class
threshold_kinds
34
{
35
probabilistic,
36
lemma,
37
percentage
38
};
39
40
threshold_kinds threshold_kind{threshold_kinds::probabilistic};
41
std::vector<size_t>
precomp_correction{};
42
std::vector<size_t>
precomp_thresholds{};
43
size_t
kmer_lemma{};
44
size_t
minimal_number_of_minimizers{};
45
size_t
maximal_number_of_minimizers{};
46
double
threshold_percentage{};
47
};
18
class
threshold
{
…
};
48
49
}
// namespace raptor::threshold
raptor::threshold::threshold
Definition
threshold.hpp:19
precompute_correction.hpp
Provides raptor::threshold::precompute_correction.
precompute_threshold.hpp
Provides raptor::threshold::precompute_threshold.
raptor::threshold::threshold_parameters
Definition
threshold_parameters.hpp:20
std::vector
Hide me
Version:
raptor
threshold
threshold.hpp
Generated on Fri Aug 16 2024 11:08:16 for Raptor by
1.10.0