Provides a modified view on the scoring. More...
#include <aligner_impl.hh>
Public Member Functions | |
ModifiedScoringView (const AlignerImpl *aligner_impl) | |
void | set_lambda (score_t lambda) |
const Scoring * | scoring () const |
infty_score_t | D (const Arc &a, const Arc &b) const |
infty_score_t | D (const ArcMatch &am) const |
Provides a modified view on the scoring.
This view is used when computing length normalized local alignment.
LocARNA::AlignerImpl::ModifiedScoringView::ModifiedScoringView | ( | const AlignerImpl * | aligner_impl | ) | [inline, explicit] |
Construct for Aligner object
aligner_impl | The aligner implementation object |
infty_score_t LocARNA::AlignerImpl::ModifiedScoringView::D | ( | const Arc & | a, |
const Arc & | b | ||
) | const [inline] |
View on matrix D
a | arc in A |
b | arc in B |
infty_score_t LocARNA::AlignerImpl::ModifiedScoringView::D | ( | const ArcMatch & | am | ) | const [inline] |
View on matrix D
am | arc match |
const Scoring* LocARNA::AlignerImpl::ModifiedScoringView::scoring | ( | ) | const [inline] |
Get scoring object
void LocARNA::AlignerImpl::ModifiedScoringView::set_lambda | ( | score_t | lambda | ) | [inline] |
Change modification factor lambda
lambda | modification factor |