LocARNA-1.8.11
Public Member Functions | List of all members
LocARNA::AlignerImpl::UnmodifiedScoringView Class Reference

Provides the standard view on the scoring. More...

#include <aligner_impl.hh>

Public Member Functions

 UnmodifiedScoringView (const AlignerImpl *aligner_impl)
 
const Scoringscoring () const
 
infty_score_t D (const Arc &a, const Arc &b) const
 
infty_score_t D (const ArcMatch &am) const
 

Detailed Description

Provides the standard view on the scoring.

See also
ModifiedScoringView
Note
We use a template-based scheme to switch between use of the unmodified score and the modified score without run-time penalty for the standard case the mechanism is used for methods align_noex and trace_noex

Constructor & Destructor Documentation

LocARNA::AlignerImpl::UnmodifiedScoringView::UnmodifiedScoringView ( const AlignerImpl aligner_impl)
inlineexplicit

Construct for Aligner object

Parameters
aligner_implthe aligner implementation object

Member Function Documentation

infty_score_t LocARNA::AlignerImpl::UnmodifiedScoringView::D ( const Arc a,
const Arc b 
) const
inline

View on matrix D

Parameters
aarc in A
barc in B
Returns
D matrix entry for match of a and b
infty_score_t LocARNA::AlignerImpl::UnmodifiedScoringView::D ( const ArcMatch am) const
inline

View on matrix D

Parameters
amarc match
Returns
D matrix entry for arc match am
const Scoring* LocARNA::AlignerImpl::UnmodifiedScoringView::scoring ( ) const
inline

Get scoring object

Returns
(unmodified) scoring object of aligner

The documentation for this class was generated from the following file: