Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Alignment_engine< SequenceOrStructure, AlignerAlgorithm, FT >::Matrix_function Class Reference

Functor for the substitution matrix. Is imposed the following properties: (i) symmetry, (ii) undefined values are 0. Thus, it is just enough to specify non null values on only one triangle of the matrix. More...

#include <Alignment_engine.hpp>

Public Member Functions

 Matrix_function (Substitution_matrix &matrix)
 
FT operator() (const Alignment_unit_name &p, const Alignment_unit_name &q) const
 

Public Attributes

Substitution_matrixm_matrix
 

Detailed Description

template<class SequenceOrStructure, class AlignerAlgorithm, class FT = double>
class SBL::CSB::T_Alignment_engine< SequenceOrStructure, AlignerAlgorithm, FT >::Matrix_function

Functor for the substitution matrix. Is imposed the following properties: (i) symmetry, (ii) undefined values are 0. Thus, it is just enough to specify non null values on only one triangle of the matrix.

Constructor & Destructor Documentation

◆ Matrix_function()

Matrix_function ( Substitution_matrix matrix)
inline

Member Function Documentation

◆ operator()()

FT operator() ( const Alignment_unit_name p,
const Alignment_unit_name q 
) const
inline

Member Data Documentation

◆ m_matrix