60 template <
typename score_t,
typename coordinate_t>
61 requires (std::assignable_from<score_t &, score_t const &> &&
67 void operator()(score_t & optimal_score,
82template <
typename alignment_configuration_t, std::semiregular optimum_updater_t>
191 template <std::ranges::input_range sequence1_collection_t, std::ranges::input_range sequence2_collection_t>
Provides algorithms to modify seqan3::simd::simd_type.
Implements the tracker to store the global optimum for a particular alignment computation.
Definition policy_optimum_tracker_simd.hpp:91
policy_optimum_tracker_simd(alignment_configuration_t const &config)
Construction and initialisation using the alignment configuration.
Definition policy_optimum_tracker_simd.hpp:132
void reset_optimum()
Resets the optimum such that a new alignment can be computed.
Definition policy_optimum_tracker_simd.hpp:140
typename simd::simd_traits< score_type >::scalar_type scalar_type
The scalar type of the simd vector.
Definition policy_optimum_tracker_simd.hpp:101
typename traits_type::original_score_type original_score_type
The original non-simd score type.
Definition policy_optimum_tracker_simd.hpp:103
policy_optimum_tracker_simd()=default
Defaulted.
policy_optimum_tracker_simd & operator=(policy_optimum_tracker_simd &&)=default
Defaulted.
~policy_optimum_tracker_simd()=default
Defaulted.
std::array< original_score_type, simd_traits< score_type >::length > padding_offsets
The individual offsets used for padding the sequences.
Definition policy_optimum_tracker_simd.hpp:112
policy_optimum_tracker_simd(policy_optimum_tracker_simd const &)=default
Defaulted.
score_type optimal_score
The tracked score of the global optimum.
Definition policy_optimum_tracker.hpp:196
policy_optimum_tracker_simd & operator=(policy_optimum_tracker_simd const &)=default
Defaulted.
matrix_coordinate_type optimal_coordinate
The matrix coordinate of the tracked optimum.
Definition policy_optimum_tracker.hpp:198
void initialise_tracker(sequence1_collection_t &sequence1_collection, sequence2_collection_t &sequence2_collection)
Initialises the tracker and possibly the binary update operation.
Definition policy_optimum_tracker_simd.hpp:192
policy_optimum_tracker_simd(policy_optimum_tracker_simd &&)=default
Defaulted.
Implements the tracker to store the global optimum for a particular alignment computation.
Definition policy_optimum_tracker.hpp:186
bool test_last_row_cell
Whether cells of the last row shall be tracked.
Definition policy_optimum_tracker.hpp:205
alignment_configuration_traits< alignment_configuration_t > traits_type
The configuration traits type.
Definition policy_optimum_tracker.hpp:189
typename traits_type::score_type score_type
The configured score type.
Definition policy_optimum_tracker.hpp:191
score_type optimal_score
The tracked score of the global optimum.
Definition policy_optimum_tracker.hpp:196
optimum_updater_t compare_and_set_optimum
The function object to compare and exchange the optimum.
Definition policy_optimum_tracker.hpp:200
matrix_coordinate_type optimal_coordinate
The matrix coordinate of the tracked optimum.
Definition policy_optimum_tracker.hpp:198
bool test_last_column_cell
Whether cells of the last column shall be tracked.
Definition policy_optimum_tracker.hpp:207
Implementation of a masked alphabet to be used for tuple composites.
Definition mask.hpp:35
seqan::stl::views::zip zip
A view adaptor that takes several views and returns tuple-like values from every i-th element of each...
Definition zip.hpp:24
The generic simd concept.
Provides lazy template instantiation traits.
The internal SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
constexpr auto const & get(configuration< configs_t... > const &config) noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition configuration.hpp:412
Provides seqan3::detail::policy_optimum_tracker.
Provides seqan3::simd::simd_type.
Provides seqan3::simd::simd_traits.
std::conditional_t< is_vectorised, simd_type_t< original_score_type >, original_score_type > score_type
The score type for the alignment algorithm.
Definition alignment/pairwise/detail/type_traits.hpp:133
std::conditional_t< is_vectorised, simd_type_t< select_scalar_index_t< original_score_type > >, size_t > matrix_index_type
The type of the matrix index.
Definition alignment/pairwise/detail/type_traits.hpp:140
lazy_conditional_t< is_vectorised, lazy< simd_matrix_coordinate, matrix_index_type >, matrix_coordinate > matrix_coordinate_type
The type of the matrix coordinate.
Definition alignment/pairwise/detail/type_traits.hpp:143
typename std::remove_reference_t< decltype(std::declval< configuration_t >().get_or(align_cfg::score_type< int32_t >{}))>::type original_score_type
The original score type selected by the user.
Definition alignment/pairwise/detail/type_traits.hpp:131
Function object that compares and updates the alignment optimum for the vectorised global alignment a...
Definition policy_optimum_tracker_simd.hpp:42
seqan3::simd::simd_traits is the trait class that provides uniform interface to the properties of sim...
Definition simd_traits.hpp:38
IMPLEMENTATION_DEFINED scalar_type
The underlying type of a simd vector (is not defined if simd_t does not model seqan3::simd::simd)
Definition simd_traits.hpp:42
Provides seqan3::views::zip.