LocARNA-1.9.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions
LocARNA::AlignerImpl::ModifiedScoringView Class Reference

Provides a modified view on the scoring. More...

#include <aligner_impl.hh>

List of all members.

Public Member Functions

 ModifiedScoringView (const AlignerImpl *aligner_impl)
void set_lambda (score_t lambda)
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 a modified view on the scoring.

This view is used when computing length normalized local alignment.

See also:
UnmodifiedScoringView

Constructor & Destructor Documentation

Construct for Aligner object

Parameters:
aligner_implThe aligner implementation object
Note:
scoring object in aligner has to be modified by lambda already

Member Function Documentation

infty_score_t LocARNA::AlignerImpl::ModifiedScoringView::D ( const Arc a,
const Arc b 
) const [inline]

View on matrix D

Parameters:
aarc in A
barc in B
Returns:
modified D matrix entry for match of a and b

View on matrix D

Parameters:
amarc match
Returns:
modified D matrix entry for arc match am

Get scoring object

Returns:
modified scoring object of aligner
void LocARNA::AlignerImpl::ModifiedScoringView::set_lambda ( score_t  lambda) [inline]

Change modification factor lambda

Parameters:
lambdamodification factor

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends