PathMatrix< PATH_TYPE > Class Template Reference

#include <MatchAligner.h>

List of all members.

Public Types

typedef pair< vector< vector<
PATH_TYPE > >::iterator,
vector< PATH_TYPE >::iterator > 
CellIterator

Public Member Functions

template<class MATRIX_FILLER>
ScoreType fillIn (MATRIX_FILLER &doMatrix)
template<class TRACE_BACKER>
void traceBack (TRACE_BACKER &doCell)

Public Attributes

CellIterator lastCell_


Detailed Description

template<class PATH_TYPE>
class PathMatrix< PATH_TYPE >

Definition at line 518 of file MatchAligner.h.


Member Typedef Documentation

template<class PATH_TYPE>
typedef pair<vector<vector<PATH_TYPE> >::iterator, vector<PATH_TYPE>::iterator> PathMatrix< PATH_TYPE >::CellIterator

Definition at line 523 of file MatchAligner.h.


Member Function Documentation

template<class PATH_TYPE>
template<class MATRIX_FILLER>
ScoreType PathMatrix< PATH_TYPE >::fillIn ( MATRIX_FILLER &  doMatrix  )  [inline]

Definition at line 525 of file MatchAligner.h.

Referenced by MatchAlignerTranslated::createAlignment(), and MatchAligner::createAlignment().

00526   {
00527     return doMatrix(*this);
00528   } // ~fillIn

Here is the caller graph for this function:

template<class PATH_TYPE>
template<class TRACE_BACKER>
void PathMatrix< PATH_TYPE >::traceBack ( TRACE_BACKER &  doCell  )  [inline]

Definition at line 531 of file MatchAligner.h.

References PathMatrix< PATH_TYPE >::lastCell_.

Referenced by MatchAlignerTranslated::createAlignment(), and MatchAligner::createAlignment().

00532   {
00533     // NB we are tracing back from finish to start
00534     //    CellIterator start; 
00535     //    start.first = &front();
00536     //  start.second = front().begin()+startPos;
00537     //    finish.first =  &back();  
00538     //    finish.second = back().begin()+finishPos;
00539  
00540     CellIterator current = lastCell_;
00541     //    current.first =  &back();  
00542     //  current.second = back().begin()+finishPos;
00543     //    cout << "Cell iterator - column: " << current.first-begin()
00544     //  << " row: " << current.second-current.first->begin() << endl;
00545     while( doCell(current) );
00546     // {
00547     //   cout << "Cell iterator - column: " << current.first-begin()
00548     //   << " row: " << current.second-current.first->begin() << endl;
00549     // }
00550 
00551   } // ~traceBack

Here is the caller graph for this function:


Member Data Documentation

template<class PATH_TYPE>
CellIterator PathMatrix< PATH_TYPE >::lastCell_

Definition at line 553 of file MatchAligner.h.

Referenced by ColumnFillerBasic::operator()(), and PathMatrix< PATH_TYPE >::traceBack().


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