111template <
typename tuple_t>
134 using tuple_t::tuple_t;
137 template <
typename other_tuple_t>
138 requires std::constructible_from<tuple_t, other_tuple_t &&>
143 template <
typename other_tuple_t>
144 requires std::constructible_from<tuple_t, other_tuple_t const &>
146 tuple_t{static_cast<other_tuple_t const &>(other)}
150 template <
typename other_tuple_t>
151 requires std::constructible_from<tuple_t, other_tuple_t>
153 tuple_t{static_cast<other_tuple_t &&>(
std::move(other))}
157 template <
typename other_tuple_t>
158 requires std::assignable_from<tuple_t &, other_tuple_t &&>
161 as_base() = std::forward<other_tuple_t>(other);
166 template <
typename other_tuple_t>
167 requires std::assignable_from<tuple_t &, other_tuple_t const &>
170 as_base() =
static_cast<other_tuple_t
const &
>(other);
175 template <
typename other_tuple_t>
176 requires std::assignable_from<tuple_t &, other_tuple_t>
179 as_base() =
static_cast<other_tuple_t &&
>(std::move(other));
191 return get_score_impl<0>(*
this);
196 return get_score_impl<0>(*
this);
201 return get_score_impl<0>(std::move(*
this));
206 return get_score_impl<0>(std::move(*
this));
212 return get_score_impl<1>(*
this);
217 return get_score_impl<1>(*
this);
222 return get_score_impl<1>(std::move(*
this));
227 return get_score_impl<1>(std::move(*
this));
233 return get_score_impl<2>(*
this);
238 return get_score_impl<2>(*
this);
243 return get_score_impl<2>(std::move(*
this));
248 return get_score_impl<2>(std::move(*
this));
260 return get_trace_impl<0>(*
this);
266 return get_trace_impl<0>(*
this);
272 return get_trace_impl<0>(std::move(*
this));
278 return get_trace_impl<0>(std::move(*
this));
285 return get_trace_impl<1>(*
this);
291 return get_trace_impl<1>(*
this);
297 return get_trace_impl<1>(std::move(*
this));
303 return get_trace_impl<1>(std::move(*
this));
310 return get_trace_impl<2>(*
this);
316 return get_trace_impl<2>(*
this);
322 return get_trace_impl<2>(std::move(*
this));
328 return get_trace_impl<2>(std::move(*
this));
341 template <
size_t index,
typename this_t>
348 return get<index>(std::forward<this_t>(me));
350 return get<index>(get<0>(std::forward<this_t>(me)));
361 template <
size_t index,
typename this_t>
362 requires (index < 3 && affine_score_and_trace_cell<tuple_t>)
367 return get<index>(get<1>(std::forward<this_t>(me)));
373 return static_cast<tuple_t &
>(*this);
381template <
typename tuple_t>
386template <
size_t index,
typename tuple_t>
A proxy for an affine score matrix cell.
Definition affine_cell_proxy.hpp:114
decltype(auto) horizontal_trace() &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:294
decltype(auto) horizontal_trace() const &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:300
affine_cell_proxy(affine_cell_proxy const &)=default
Defaulted.
decltype(auto) horizontal_trace() const &noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:288
decltype(auto) horizontal_score() &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:220
affine_cell_proxy(affine_cell_proxy &&)=default
Defaulted.
decltype(auto) best_score() &noexcept
Access the best score of the wrapped score matrix cell.
Definition affine_cell_proxy.hpp:189
affine_cell_proxy()=default
Defaulted.
decltype(auto) vertical_score() &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:241
affine_cell_proxy(other_tuple_t &&other)
Converting constructor. Initialises from another tuple type.
Definition affine_cell_proxy.hpp:139
decltype(auto) vertical_score() const &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:246
static constexpr decltype(auto) get_score_impl(this_t &&me) noexcept
Implements the get interface for the various calls to receive the score value.
Definition affine_cell_proxy.hpp:343
decltype(auto) horizontal_score() const &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:225
decltype(auto) vertical_score() const &noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:236
decltype(auto) horizontal_score() const &noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:215
decltype(auto) best_trace() &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:269
decltype(auto) best_trace() const &noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:263
~affine_cell_proxy()=default
Defaulted.
static constexpr decltype(auto) get_trace_impl(this_t &&me) noexcept
Implements the get interface for the various calls to receive the trace value.
Definition affine_cell_proxy.hpp:363
decltype(auto) vertical_score() &noexcept
Access the vertical score of the wrapped score matrix cell.
Definition affine_cell_proxy.hpp:231
tuple_t & as_base() &noexcept
Casts this to the base class type.
Definition affine_cell_proxy.hpp:371
decltype(auto) horizontal_score() &noexcept
Access the horizontal score of the wrapped score matrix cell.
Definition affine_cell_proxy.hpp:210
affine_cell_proxy(affine_cell_proxy< other_tuple_t > const &other)
Converting copy-constructor.
Definition affine_cell_proxy.hpp:145
decltype(auto) best_score() &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:199
affine_cell_proxy & operator=(affine_cell_proxy const &)=default
Defaulted.
affine_cell_proxy & operator=(affine_cell_proxy< other_tuple_t > &&other)
Converting move-assignment.
Definition affine_cell_proxy.hpp:177
decltype(auto) best_score() const &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:204
decltype(auto) best_score() const &noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:194
decltype(auto) vertical_trace() const &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:325
decltype(auto) vertical_trace() &noexcept
Access the vertical score of the wrapped score matrix cell.
Definition affine_cell_proxy.hpp:307
affine_cell_proxy & operator=(affine_cell_proxy< other_tuple_t > const &other)
Converting copy-assignment.
Definition affine_cell_proxy.hpp:168
decltype(auto) vertical_trace() &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:319
decltype(auto) best_trace() const &&noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:275
decltype(auto) vertical_trace() const &noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition affine_cell_proxy.hpp:313
affine_cell_proxy & operator=(affine_cell_proxy &&)=default
Defaulted.
affine_cell_proxy & operator=(other_tuple_t &&other)
Converting assignment. Initialises from another tuple type.
Definition affine_cell_proxy.hpp:159
affine_cell_proxy(affine_cell_proxy< other_tuple_t > &&other)
Converting move-constructor.
Definition affine_cell_proxy.hpp:152
decltype(auto) best_trace() &noexcept
Access the optimal score of the wrapped score matrix cell.
Definition affine_cell_proxy.hpp:257
decltype(auto) horizontal_trace() &noexcept
Access the horizontal score of the wrapped score matrix cell.
Definition affine_cell_proxy.hpp:282
Provides seqan3::detail::empty_type.
trace_directions
The possible directions a trace can have. The values can be combined by the logical |-operator.
Definition trace_directions.hpp:30
A type that satisfies std::is_arithmetic_v<t>.
The concept for a type that models an affine cell of the combined score and trace matrix.
The concept for a type that models an affine cell of the score matrix.
The concept for a type that models an affine cell of the trace matrix.
The concept for a type that models either seqan3::arithmetic or seqan3::simd::simd_concept.
The concept for a type that either is the same type as seqan3::detail::trace_directions or models the...
Subconcept definition for seqan3::tuple_like to test for std::tuple_size-interface.
The generic simd concept.
Whether a type behaves like a tuple.
The internal SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
SeqAn specific customisations in the standard namespace.
An empty class type used in meta programming.
Definition empty_type.hpp:20
Provides the declaration of seqan3::detail::trace_directions.
Provides concepts that do not have equivalents in C++20.
Provides seqan3::simd::simd_concept.
Provides seqan3::tuple_like.