NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::priv::string_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, string_type, word_type > Struct Template Reference

Detailed description

template< uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename string_type, typename word_type>
struct nvbio::priv::string_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, string_type, word_type >

A functor fetching the w'th word worth of 2-bit symbols from the i-th string in a set

Definition at line 701 of file sufsort_priv.h.

#include <sufsort_priv.h>

Public Types

typedef uint32 argument_type
 
typedef word_type result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE string_suffix_word_functor (const uint64 _string_len, const string_type _string, const uint32 _w)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const uint64 suffix_idx) const
 

Public Members

const uint64 string_len
 
string_type string
 
uint32 w
 

Member Typedef Documentation

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename string_type, typename word_type>
typedef uint32 nvbio::priv::string_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, string_type, word_type >::argument_type

Definition at line 703 of file sufsort_priv.h.

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename string_type, typename word_type>
typedef word_type nvbio::priv::string_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, string_type, word_type >::result_type

Definition at line 704 of file sufsort_priv.h.

Constructor & Destructor Documentation

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename string_type, typename word_type>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::priv::string_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, string_type, word_type >::string_suffix_word_functor ( const uint64  _string_len,
const string_type  _string,
const uint32  _w 
)
inline

constructor

Definition at line 709 of file sufsort_priv.h.

Member Function Documentation

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename string_type, typename word_type>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::priv::string_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, string_type, word_type >::operator() ( const uint64  suffix_idx) const
inline

return the w'th word of the i-th string

Definition at line 717 of file sufsort_priv.h.

Member Data Documentation

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename string_type, typename word_type>
string_type nvbio::priv::string_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, string_type, word_type >::string

Definition at line 727 of file sufsort_priv.h.

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename string_type, typename word_type>
const uint64 nvbio::priv::string_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, string_type, word_type >::string_len

Definition at line 726 of file sufsort_priv.h.

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename string_type, typename word_type>
uint32 nvbio::priv::string_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, string_type, word_type >::w

Definition at line 728 of file sufsort_priv.h.


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