15 #include <range/v3/view/sliding.hpp> 33 constexpr
auto operator()(
size_t const k)
const noexcept
35 return detail::adaptor_from_functor{*
this, k};
44 template <std::ranges::ViewableRange urng_t>
46 requires Semialphabet<reference_t<urng_t>>
48 constexpr
auto operator()(urng_t && urange,
size_t const k)
const noexcept
106 inline auto constexpr
kmer_hash = detail::kmer_hash_fn{};
auto constexpr kmer_hash
A view that calls std::hash on each substring of length k in the input range.
Definition: kmer_hash.hpp:106
Auxiliary header for the view submodule .
Adaptations of concepts from the Ranges TS.
The SeqAn3 namespace for views.
Definition: aligned_sequence_concept.hpp:35
Core alphabet concept and free function/type trait wrappers.
Provides various transformation traits used by the range module.
constexpr auto transform
A range adaptor that takes a invocable and returns a view of the elements with the invocable applied...
Definition: ranges:911