CellFiller Class Reference

#include <MatchAligner.h>

List of all members.

Public Member Functions

 CellFiller (void)
ScoreType operator() (PathType &cell, ScoreType scoreW, ScoreType scoreSW, ScoreType scoreN)

Private Attributes

ScoreType max_


Detailed Description

Definition at line 587 of file MatchAligner.h.


Constructor & Destructor Documentation

CellFiller::CellFiller ( void   )  [inline]

Definition at line 590 of file MatchAligner.h.

00590 :  max_(0) {}


Member Function Documentation

ScoreType CellFiller::operator() ( PathType cell,
ScoreType  scoreW,
ScoreType  scoreSW,
ScoreType  scoreN 
) [inline]

Definition at line 592 of file MatchAligner.h.

References fromN, fromSW, fromW, and max_.

00596     {
00597       max_=max( max( scoreW, scoreSW), scoreN );
00598       cell |= fromW * (scoreW==max_);
00599       cell |= fromSW * (scoreSW==max_);
00600       cell |= fromN * (scoreN==max_);
00601       //      cout << "Cell: " 
00602       //   << ((cell & fromW)?'-':'.')
00603       //   << ((cell & fromSW)?'/':'.') 
00604       //   << ((cell & fromN)?'|':'.') 
00605       //   << " " << scoreW
00606       //   << " " << scoreSW
00607       //   << " " << scoreN 
00608       //   << " " << max_ << endl; 
00609       return max_;
00610     } // ~CellFiller::operator()


Member Data Documentation

ScoreType CellFiller::max_ [private]

Definition at line 613 of file MatchAligner.h.

Referenced by operator()().


The documentation for this class was generated from the following file:
Generated on Fri Dec 21 13:15:42 2007 for ssaha by  doxygen 1.5.2