15#include <sdsl/suffix_arrays.hpp>
19namespace seqan3::detail
32concept sdsl_index =
requires (t sdsl_index) {
33 typename t::size_type;
35 { sdsl_index.size() } -> std::same_as<typename t::size_type>;
37 { sdsl_index.comp2char[0] } -> std::same_as<uint8_t>;
38 { sdsl_index.char2comp[0] } -> std::same_as<uint8_t>;
42 requires requires (t sdsl_index,
43 typename t::char_type
const c,
44 typename t::size_type
const lb,
45 typename t::size_type
const rb,
46 sdsl::int_vector<8>
const text) {
47 { sdsl_index.bwt.rank(lb, c) };
48 { sdsl_index.wavelet_tree.lex_count(lb, rb, c) };
49 { sdsl::construct_im(sdsl_index, text, 0) };
text_layout
The possible text layouts (single, collection) the seqan3::fm_index and seqan3::bi_fm_index can suppo...
Definition search/fm_index/concept.hpp:70
@ single
The text is a single range.
Definition search/fm_index/concept.hpp:72
@ collection
The text is a range of ranges.
Definition search/fm_index/concept.hpp:74
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26