LocARNA-1.9.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Protected Member Functions | Protected Attributes
LocARNA::AlignerN::ModifiedScoringViewN Class Reference

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

#include <aligner_n.hh>

List of all members.

Public Member Functions

 ModifiedScoringViewN (const AlignerN *alignerN)
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

Protected Member Functions

size_t arc_length (const Arc &a) const

Protected Attributes

const AlignerNalignerN_
 aligner object for that the view is provided
score_t lambda_
 factor for modifying scoring

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 AlignerN object

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

Member Function Documentation

size_t LocARNA::AlignerN::ModifiedScoringViewN::arc_length ( const Arc a) const [inline, protected]

Computes length of an arc

Parameters:
athe arc
Returns:
length of arc a
infty_score_t LocARNA::AlignerN::ModifiedScoringViewN::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::AlignerN::ModifiedScoringViewN::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