NVBIO
|
A utility functor to extract the i-th q-gram out of a string
string_type | the string iterator type |
#include <qgram.h>
Public Types | |
typedef uint32 | argument_type |
typedef uint64 | result_type |
Public Methods | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE | string_qgram_functor (const uint32 _Q, const uint32 _symbol_size, const uint32 _string_len, const string_type _string) |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint64 | operator() (const uint32 i) const |
Public Members | |
const uint32 | Q |
q-gram size More... | |
const uint32 | symbol_size |
symbol size More... | |
const uint32 | symbol_mask |
symbol size More... | |
const uint32 | string_len |
string length More... | |
const string_type | string |
string iterator More... | |
typedef uint32 nvbio::string_qgram_functor< string_type >::argument_type |
typedef uint64 nvbio::string_qgram_functor< string_type >::result_type |
|
inline |
|
inline |
const uint32 nvbio::string_qgram_functor< string_type >::Q |
const string_type nvbio::string_qgram_functor< string_type >::string |
const uint32 nvbio::string_qgram_functor< string_type >::string_len |
const uint32 nvbio::string_qgram_functor< string_type >::symbol_mask |
const uint32 nvbio::string_qgram_functor< string_type >::symbol_size |