|
LocARNA-2.0.0
|
Provides a modified view on the scoring. More...
#include <aligner_n.hh>

Public Member Functions | |
| ModifiedScoringViewN (const AlignerN *alignerN) | |
| 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 |
Protected Member Functions | |
| size_t | arc_length (const Arc &a) const |
Protected Attributes | |
| const AlignerN * | alignerN_ |
| aligner object for that the view is provided | |
| score_t | lambda_ |
| factor for modifying scoring | |
Provides a modified view on the scoring.
This view is used when computing length normalized local alignment.
|
inlineexplicit |
Construct for AlignerN object
| alignerN | The aligner object |
|
inlineprotected |
Computes length of an arc
| a | the arc |
|
inline |
View on matrix D
| a | arc in A |
| b | arc in B |
|
inline |
View on matrix D
| am | arc match |
|
inline |
Get scoring object
|
inline |
Change modification factor lambda
| lambda | modification factor |