81 ret[rank_to_char_table[rnk]] = rnk;
90 return rank_to_char_table[rank];
97 return char_to_rank_table[
static_cast<index_t
>(chr)];
Provides seqan3::alphabet_base.
A CRTP-base that makes defining a custom alphabet easier.
Definition: alphabet_base.hpp:57
detail::min_viable_uint_t< size - 1 > rank_type
The type of the alphabet when represented as a number (e.g. via to_rank()).
Definition: alphabet_base.hpp:80
static constexpr detail::min_viable_uint_t< size > alphabet_size
The size of the alphabet, i.e. the number of different values it can take.
Definition: alphabet_base.hpp:199
std::conditional_t< std::same_as< char, void >, char, char > char_type
The char representation; conditional needed to make semi alphabet definitions legal.
Definition: alphabet_base.hpp:72
The actual implementation of seqan3::cigar::operation for documentation purposes only....
Definition: cigar_operation.hpp:48
constexpr cigar_operation() noexcept=default
Defaulted.
A namespace for SeqAn entities that are intended for documentation purposes only.
Definition: cigar_operation.hpp:22