|
MASA-Core
|
Definition at line 39 of file CPUBlockProcessor.hpp.
#include <CPUBlockProcessor.hpp>
Public Member Functions | |
| CPUBlockProcessor () | |
| virtual | ~CPUBlockProcessor () |
| virtual void | setSequences (const char *seq0, const char *seq1, int seq0_len, int seq1_len) |
| virtual void | unsetSequences () |
| virtual score_t | processBlock (cell_t *row, cell_t *col, const int i0, const int j0, const int i1, const int j1, const int recurrenceType) |
| Executes the SW/NW recurrence function for the given block. | |
Private Attributes | |
| const char * | seq0 |
| const char * | seq1 |
Definition at line 35 of file CPUBlockProcessor.cpp.
| CPUBlockProcessor::~CPUBlockProcessor | ( | ) | [virtual] |
Definition at line 40 of file CPUBlockProcessor.cpp.
| score_t CPUBlockProcessor::processBlock | ( | cell_t * | row, |
| cell_t * | col, | ||
| const int | i0, | ||
| const int | j0, | ||
| const int | i1, | ||
| const int | j1, | ||
| const int | recurrenceType | ||
| ) | [virtual] |
Executes the SW/NW recurrence function for the given block.
| [in,out] | row | Input: cells from the first row of the block, where row[k] represents cell (i0-1,j0+k); Output: the same range is used for write, but the output represents the last row of the block; |
| [in,out] | col | Input: cells from the first column of the partition, where col[k] represents cell (i0-1+k,j0-1). Note that the col vector contains the diag cell (i0-1,j0-1). Output: the same idea, but representing the last column of the partition. Note that col[0] represents the diag cell (i0-1,j0-1). |
| [in] | i0 | start row |
| [in] | j0 | start column |
| [in] | i1 | end row |
| [in] | j1 | end column |
Implements AbstractBlockProcessor.
Definition at line 113 of file CPUBlockProcessor.cpp.
| void CPUBlockProcessor::setSequences | ( | const char * | seq0, |
| const char * | seq1, | ||
| int | seq0_len, | ||
| int | seq1_len | ||
| ) | [virtual] |
Implements AbstractBlockProcessor.
Definition at line 44 of file CPUBlockProcessor.cpp.
| void CPUBlockProcessor::unsetSequences | ( | ) | [virtual] |
Implements AbstractBlockProcessor.
Definition at line 49 of file CPUBlockProcessor.cpp.
const char* CPUBlockProcessor::seq0 [private] |
Definition at line 50 of file CPUBlockProcessor.hpp.
const char* CPUBlockProcessor::seq1 [private] |
Definition at line 51 of file CPUBlockProcessor.hpp.
1.7.6.1