CellFiller3D Class Reference

#include <MatchAligner.h>

List of all members.

Public Member Functions

 CellFiller3D (void)
ScoreType operator() (PathType &cell, ScoreType scoreW, ScoreType scoreSW, ScoreType scoreN, ScoreType scoreFrame1, ScoreType scoreFrame2)

Private Attributes

ScoreType max_


Detailed Description

Definition at line 728 of file MatchAligner.h.


Constructor & Destructor Documentation

CellFiller3D::CellFiller3D ( void   )  [inline]

Definition at line 731 of file MatchAligner.h.

00731 :  max_(0) {}


Member Function Documentation

ScoreType CellFiller3D::operator() ( PathType cell,
ScoreType  scoreW,
ScoreType  scoreSW,
ScoreType  scoreN,
ScoreType  scoreFrame1,
ScoreType  scoreFrame2 
) [inline]

Definition at line 733 of file MatchAligner.h.

References fromN, fromPrevFrame1, fromPrevFrame2, fromSW, fromW, and max_.

00739   {
00740 
00741     max_=max( max( max( scoreW, 
00742                         scoreSW ), 
00743                    max( scoreFrame1, 
00744                         scoreFrame2 ) ),
00745               scoreN );
00746     cell |= fromW * (scoreW==max_);
00747     cell |= fromSW * (scoreSW==max_);
00748     cell |= fromN * (scoreN==max_);
00749     cell |= fromPrevFrame1 * (scoreFrame1==max_);
00750     cell |= fromPrevFrame2 * (scoreFrame2==max_);
00751     //    cout << "Cell: " 
00752     //   << ((cell & fromW)?'-':'.')
00753     //     << ((cell & fromSW)?'/':'.') 
00754     //   << ((cell & fromN)?'|':'.') 
00755     //    << ((cell & fromPrevFrame1)?'<':'.') 
00756     //   << ((cell & fromPrevFrame2)?'^':'.') 
00757     //   << " " << scoreW
00758     //   << " " << scoreSW
00759     //   << " " << scoreN 
00760     //   << " " << scoreFrame1
00761     //   << " " << scoreFrame2
00762     //   << " " << max_ << endl; 
00763     return max_;
00764   } // ~CellFiller3D::operator()


Member Data Documentation

ScoreType CellFiller3D::max_ [private]

Definition at line 768 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