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

Detailed description

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

A sink for valid alignments, mantaining only a single best alignment

Definition at line 69 of file sink.h.

#include <sink.h>

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE BestSink ()
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
invalidate ()
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
report (const ScoreType _score, const uint2 _sink)
 

Public Members

ScoreType score
 
uint2 sink
 

Constructor & Destructor Documentation

template<typename ScoreType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::aln::BestSink< ScoreType >::BestSink ( )

Definition at line 40 of file sink_inl.h.

Member Function Documentation

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

invalidate

Definition at line 46 of file sink_inl.h.

template<typename ScoreType>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::aln::BestSink< ScoreType >::report ( const ScoreType  _score,
const uint2  _sink 
)

store a valid alignment

Parameters
_scorealignment's score
_sinkalignment's end

Definition at line 59 of file sink_inl.h.

Member Data Documentation

template<typename ScoreType>
ScoreType nvbio::aln::BestSink< ScoreType >::score

Definition at line 87 of file sink.h.

template<typename ScoreType>
uint2 nvbio::aln::BestSink< ScoreType >::sink

Definition at line 88 of file sink.h.


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