NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
nvbio::aln::Best2Sink< ScoreType > Struct Template Reference

Detailed description

template< typename ScoreType>
struct nvbio::aln::Best2Sink< ScoreType >

A sink for valid alignments, mantaining the best two alignments

Definition at line 114 of file sink.h.

#include <sink.h>

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE Best2Sink (const uint32 distinct_dist=0)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
invalidate ()
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
report (const ScoreType score, const uint2 sink)
 

Public Members

ScoreType score1
 
ScoreType score2
 
uint2 sink1
 
uint2 sink2
 

Constructor & Destructor Documentation

template<typename ScoreType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::aln::Best2Sink< ScoreType >::Best2Sink ( const uint32  distinct_dist = 0)

constructor

Parameters
distinct_distancethe minimum text distance to consider two alignments distinct

Definition at line 74 of file sink_inl.h.

Member Function Documentation

template<typename ScoreType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::aln::Best2Sink< ScoreType >::invalidate ( )

invalidate

Definition at line 85 of file sink_inl.h.

template<typename ScoreType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::aln::Best2Sink< ScoreType >::report ( const ScoreType  score,
const uint2  sink 
)

store a valid alignment

Parameters
scorealignment's score
sinkalignment's end

Definition at line 100 of file sink_inl.h.

Member Data Documentation

template<typename ScoreType >
ScoreType nvbio::aln::Best2Sink< ScoreType >::score1

Definition at line 135 of file sink.h.

template<typename ScoreType >
ScoreType nvbio::aln::Best2Sink< ScoreType >::score2

Definition at line 136 of file sink.h.

template<typename ScoreType >
uint2 nvbio::aln::Best2Sink< ScoreType >::sink1

Definition at line 137 of file sink.h.

template<typename ScoreType >
uint2 nvbio::aln::Best2Sink< ScoreType >::sink2

Definition at line 138 of file sink.h.


The documentation for this struct was generated from the following files: