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::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type > Struct Template Reference

Detailed description

template< uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename storage_type, typename word_type, typename offsets_iterator>
struct nvbio::priv::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type >

A functor fetching the w'th word worth of 2-bit symbols from the given (string,suffix) in a set

Definition at line 621 of file sufsort_priv.h.

#include <sufsort_priv.h>

Public Types

typedef std::iterator_traits
< offsets_iterator >
::value_type 
index_type
 
typedef ConcatenatedStringSet
< PackedStream< storage_type,
uint8, SYMBOL_SIZE, true,
index_type >, offsets_iterator > 
string_set_type
 
typedef uint2 argument_type
 
typedef word_type result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE local_set_suffix_word_functor (const string_set_type _string_set, const uint32 _w)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const uint2 local_suffix_idx) const
 

Public Members

string_set_type string_set
 
uint32 w
 

Member Typedef Documentation

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename storage_type , typename word_type , typename offsets_iterator >
typedef uint2 nvbio::priv::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type >::argument_type

Definition at line 633 of file sufsort_priv.h.

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename storage_type , typename word_type , typename offsets_iterator >
typedef std::iterator_traits<offsets_iterator>::value_type nvbio::priv::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type >::index_type

Definition at line 628 of file sufsort_priv.h.

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename storage_type , typename word_type , typename offsets_iterator >
typedef word_type nvbio::priv::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type >::result_type

Definition at line 634 of file sufsort_priv.h.

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename storage_type , typename word_type , typename offsets_iterator >
typedef ConcatenatedStringSet< PackedStream<storage_type,uint8,SYMBOL_SIZE,true,index_type>, offsets_iterator> nvbio::priv::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type >::string_set_type

Definition at line 631 of file sufsort_priv.h.

Constructor & Destructor Documentation

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename storage_type , typename word_type , typename offsets_iterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::priv::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type >::local_set_suffix_word_functor ( const string_set_type  _string_set,
const uint32  _w 
)
inline

constructor

Definition at line 639 of file sufsort_priv.h.

Member Function Documentation

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename storage_type , typename word_type , typename offsets_iterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::priv::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type >::operator() ( const uint2  local_suffix_idx) const
inline

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

Definition at line 646 of file sufsort_priv.h.

Member Data Documentation

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename storage_type , typename word_type , typename offsets_iterator >
string_set_type nvbio::priv::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type >::string_set

Definition at line 667 of file sufsort_priv.h.

template<uint32 SYMBOL_SIZE, uint32 WORD_BITS, uint32 DOLLAR_BITS, typename storage_type , typename word_type , typename offsets_iterator >
uint32 nvbio::priv::local_set_suffix_word_functor< SYMBOL_SIZE, WORD_BITS, DOLLAR_BITS, ConcatenatedStringSet< PackedStream< storage_type, uint8, SYMBOL_SIZE, true, typename std::iterator_traits< offsets_iterator >::value_type >, offsets_iterator >, word_type >::w

Definition at line 668 of file sufsort_priv.h.


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