24 template <
typename alphabet_t>
37 size_t operator()(alphabet_t
const character)
const noexcept
49 template <ranges::InputRange urng_t>
66 for (
auto const character : range)
68 result *= seqan3::alphabet_size<alphabet_t>;
69 result += h(character);
The basis for seqan3::Alphabet, but requires only rank interface (not char).
typename value_type< t >::type value_type_t
Shortcut for seqan3::value_type (TransformationTrait shortcut).
Definition: pre.hpp:48
constexpr auto to_rank
Return the rank representation of a (semi-)alphabet object.
Definition: concept.hpp:103
SeqAn specific customisations in the standard namespace.
size_t operator()(alphabet_t const character) const noexcept
Compute the hash for a character.
Definition: hash.hpp:37
Adaptations of concepts from the Ranges TS.
size_t operator()(urng_t const &range) const noexcept
Compute the hash for a range of characters.
Definition: hash.hpp:61
Struct for hashing a character.
Definition: hash.hpp:28
Provides various transformation traits used by the range module.