template<
uint32 BAND_LEN,
AlignmentType TYPE,
uint32 CHECKPOINTS,
typename checkpoint_type>
struct nvbio::aln::priv::SWCheckpointContext< BAND_LEN, TYPE, CHECKPOINTS, checkpoint_type >
A helper scoring context classfor sw_alignment_score_dispatch, instantiated to keep track of checkpoints
Definition at line 228 of file sw_inl.h.
|
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE | SWCheckpointContext (checkpoint_type checkpoints) |
|
template<typename column_type , typename scoring_type , typename score_type > |
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void | init (const uint32 j, const uint32 N, column_type &column, const scoring_type &scoring, const score_type zero) |
|
template<typename column_type > |
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void | previous_column (const uint32 j, const uint32 N, const column_type column) |
|
template<typename column_type > |
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void | last_column (const uint32 j, const uint32 M, const uint32 N, const column_type column) |
|
template<typename score_type > |
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void | new_cell (const uint32 i, const uint32 N, const uint32 j, const uint32 M, const score_type score, const DirectionVector dir) |
|
template<uint32 BAND_LEN, AlignmentType TYPE, uint32 CHECKPOINTS, typename checkpoint_type>
template<typename column_type , typename scoring_type , typename score_type >
initialize the j-th column of the DP matrix
- Parameters
-
j | column index |
N | column size |
column | column values |
scoring | scoring scheme |
zero | zero value |
Definition at line 243 of file sw_inl.h.