NVBIO
|
Classes | |
struct | nvbio::WaveletTree< BitStreamIterator, IndexIterator, SymbolType > |
struct | nvbio::WaveletTreeStorage< SystemTag, IndexType, SymbolType > |
Functions | |
template<typename system_tag , typename string_iterator , typename index_type , typename symbol_type > | |
void | setup (const index_type string_len, const string_iterator &string, WaveletTreeStorage< system_tag, index_type, symbol_type > &out_tree) |
template<typename BitStreamIterator , typename IndexIterator , typename IndexType , typename SymbolType > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SymbolType | text (const WaveletTree< BitStreamIterator, IndexIterator, SymbolType > &tree, const IndexType i) |
template<typename BitStreamIterator , typename IndexIterator , typename SymbolType > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE WaveletTree < BitStreamIterator, IndexIterator, SymbolType > ::index_type | rank (const WaveletTree< BitStreamIterator, IndexIterator, SymbolType > &tree, const typename WaveletTree< BitStreamIterator, IndexIterator, SymbolType >::index_type i, const uint32 c) |
template<typename BitStreamIterator , typename IndexIterator , typename SymbolType > | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE WaveletTree < BitStreamIterator, IndexIterator, SymbolType > ::range_type | rank (const WaveletTree< BitStreamIterator, IndexIterator, SymbolType > &tree, const typename WaveletTree< BitStreamIterator, IndexIterator, SymbolType >::range_type range, const uint32 c) |
template<typename SystemTag , typename IndexType , typename SymbolType > | |
WaveletTreeStorage< SystemTag, IndexType, SymbolType > ::plain_view_type | plain_view (WaveletTreeStorage< SystemTag, IndexType, SymbolType > &tree) |
template<typename SystemTag , typename IndexType , typename SymbolType > | |
WaveletTreeStorage< SystemTag, IndexType, SymbolType > ::const_plain_view_type | plain_view (const WaveletTreeStorage< SystemTag, IndexType, SymbolType > &tree) |
|
related |
plain_view specialization
Definition at line 341 of file wavelet_tree.h.
|
related |
plain_view specialization
Definition at line 350 of file wavelet_tree.h.
|
related |
fetch the number of occurrences of character c in the substring [0,i]
tree | the wavelet tree |
i | the end of the query range [0,i] |
c | the query character |
|
related |
fetch the number of occurrences of character c in the substring [0,i]
tree | the wavelet tree |
i | the end of the query range [0,i] |
c | the query character |
|
related |
build a Wavelet Tree out of a string: the output consists of a bit-string representing the different bit-planes of the output Wavelet Tree, and the tree structure itself, a binary heap, recording the sequence split of each node.
string_iterator | the string type: must provide a random access iterator interface as well as define a proper stream_traits<StringType> expansion; particularly, stream_traits<StringType>::SYMBOL_SIZE is used to infer the number of bits needed to represent the symbols in the string's alphabet |
|
related |
fetch the text character at position i in the wavelet tree
tree | the wavelet tree |
i | the index of the character to extract |
Definition at line 457 of file wavelet_tree_inl.h.