SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::alignment_contract< range_type, alignment_config_type > Struct Template Reference

Provides several contracts to test when configuring the alignment algorithm. More...

#include <seqan3/alignment/pairwise/alignment_configurator.hpp>

Static Public Member Functions

static constexpr bool expects_alignment_configuration ()
 Expects alignment configurations.
 
static constexpr bool expects_tuple_like_value_type ()
 Tests whether the value type of range_type is a tuple with exactly 2 members.
 
static constexpr bool expects_valid_scoring_scheme ()
 Tests whether the scoring scheme is set and can be invoked with the sequences passed.
 

Private Types

using unref_range_type = std::remove_reference_t< range_type >
 Auxiliary member types.
 
using first_seq_t = std::tuple_element_t< 0, std::ranges::range_value_t< unref_range_type > >
 The type of the first sequence.
 
using second_seq_t = std::tuple_element_t< 1, std::ranges::range_value_t< unref_range_type > >
 The type of the second sequence.
 

Detailed Description

template<typename range_type, typename alignment_config_type>
struct seqan3::detail::alignment_contract< range_type, alignment_config_type >

Provides several contracts to test when configuring the alignment algorithm.

Template Parameters
range_typeThe type of the range containing sequences to be aligned.
alignment_config_typeThe type of the alignment configuration.

This stateless helper class provides several contract testing functions for the alignment configuration.

Member Typedef Documentation

◆ unref_range_type

template<typename range_type , typename alignment_config_type >
using seqan3::detail::alignment_contract< range_type, alignment_config_type >::unref_range_type = std::remove_reference_t<range_type>
private

Auxiliary member types.

Range type with removed references.


The documentation for this struct was generated from the following file:
Hide me