HIBF
1.0.0-rc.1
Toggle main menu visibility
Main Page
Cookbook
About
Changelog
Copyright
Code of Conduct
Contributing
API Reference
API Reference (details)
Concept List
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
~
Variables
a
b
d
e
f
h
i
k
m
n
o
p
r
s
t
u
v
Typedefs
Related Symbols
File List
File List
File Members
All
Macros
▼
HIBF
Cookbook
►
About
►
API Reference
▼
API Reference (details)
►
Concept List
►
Class List
▼
File List
▼
File List
▼
hibf
▼
build
►
bin_size_in_bits.hpp
build_data.hpp
►
compute_kmers.hpp
construct_ibf.hpp
insert_into_ibf.hpp
►
update_parent_kmers.hpp
update_user_bins.hpp
►
cereal
►
layout
►
misc
►
sketch
all.hpp
config.hpp
hierarchical_interleaved_bloom_filter.hpp
►
interleaved_bloom_filter.hpp
►
platform.hpp
►
version.hpp
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
update_user_bins.hpp
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
5
#pragma once
6
7
#include <
algorithm
>
// for fill_n
8
#include <
cstdint
>
// for uint64_t
9
#include <
vector
>
// for vector
10
11
#include <hibf/layout/layout.hpp>
// for layout
12
13
namespace
seqan::hibf::build
14
{
15
19
inline
void
update_user_bins
(
std::vector<uint64_t>
& technical_bin_to_user_bin_id,
20
layout::layout::user_bin
const
& record)
21
{
22
std::fill_n
(technical_bin_to_user_bin_id.
begin
() + record.storage_TB_id,
23
record.number_of_technical_bins,
24
record.idx);
25
}
19
inline
void
update_user_bins
(
std::vector<uint64_t>
& technical_bin_to_user_bin_id, {
…
}
26
27
}
// namespace seqan::hibf::build
algorithm
std::vector::begin
T begin(T... args)
cstdint
std::fill_n
T fill_n(T... args)
seqan::hibf::build::update_user_bins
void update_user_bins(std::vector< uint64_t > &technical_bin_to_user_bin_id, layout::layout::user_bin const &record)
Updates user bins stored in HIBF.
Definition
update_user_bins.hpp:19
seqan::hibf::layout::layout::user_bin
Definition
layout.hpp:52
vector
hibf
build
update_user_bins.hpp
Generated on Mon Mar 17 2025 14:41:03 for HIBF by
1.10.0