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

Detailed description

template< typename OutputIterator>
struct nvbio::DeviceBWTHandler< OutputIterator >

A SetBWTOutputHandler class to output a string-set BWT to a (potentially packed) device string

Definition at line 86 of file sufsort_utils.h.

#include <sufsort_utils.h>

Inheritance diagram for nvbio::DeviceBWTHandler< OutputIterator >:
nvbio::SetBWTHandler

Public Methods

 DeviceBWTHandler (OutputIterator _output)
 
void process (const uint32 n_suffixes, const uint32 bits_per_symbol, const uint32 *bwt, const uint32 n_dollars, const uint64 *dollar_pos, const uint64 *dollar_ids)
 
void process (const uint32 n_suffixes, const uint8 *bwt, const uint32 n_dollars, const uint64 *dollar_pos, const uint64 *dollar_ids)
 
- Public Methods inherited from nvbio::SetBWTHandler
virtual ~SetBWTHandler ()
 

Public Members

OutputIterator output
 
uint64 offset
 
nvbio::vector< device_tag, uint8d_bwt
 

Constructor & Destructor Documentation

template<typename OutputIterator >
nvbio::DeviceBWTHandler< OutputIterator >::DeviceBWTHandler ( OutputIterator  _output)
inline

constructor

Definition at line 90 of file sufsort_utils.h.

Member Function Documentation

template<typename OutputIterator >
void nvbio::DeviceBWTHandler< OutputIterator >::process ( const uint32  n_suffixes,
const uint32  bits_per_symbol,
const uint32 bwt,
const uint32  n_dollars,
const uint64 dollar_pos,
const uint64 dollar_ids 
)
inlinevirtual

process a batch of BWT symbols

Reimplemented from nvbio::SetBWTHandler.

Definition at line 94 of file sufsort_utils.h.

template<typename OutputIterator >
void nvbio::DeviceBWTHandler< OutputIterator >::process ( const uint32  n_suffixes,
const uint8 bwt,
const uint32  n_dollars,
const uint64 dollar_pos,
const uint64 dollar_ids 
)
inlinevirtual

process a batch of BWT symbols

Reimplemented from nvbio::SetBWTHandler.

Definition at line 107 of file sufsort_utils.h.

Member Data Documentation

template<typename OutputIterator >
nvbio::vector<device_tag,uint8> nvbio::DeviceBWTHandler< OutputIterator >::d_bwt

Definition at line 130 of file sufsort_utils.h.

template<typename OutputIterator >
uint64 nvbio::DeviceBWTHandler< OutputIterator >::offset

Definition at line 129 of file sufsort_utils.h.

template<typename OutputIterator >
OutputIterator nvbio::DeviceBWTHandler< OutputIterator >::output

Definition at line 128 of file sufsort_utils.h.


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