NVBIO
|
The base q-gram index core class (see Q-Gram Index Module)
#include <qgram.h>
Public Types | |
typedef SystemTag | system_tag |
typedef QGramType | qgram_type |
typedef IndexType | index_type |
typedef CoordType | coord_type |
typedef nvbio::vector < system_tag, qgram_type > | qgram_vector_type |
typedef nvbio::vector < system_tag, index_type > | index_vector_type |
typedef nvbio::vector < system_tag, coord_type > | coord_vector_type |
typedef QGramIndexViewCore < QGramType *, IndexType *, CoordType * > | plain_view_type |
typedef QGramIndexViewCore < const QGramType *, const IndexType *, const CoordType * > | const_plain_view_type |
Public Methods | |
QGramIndexCore () | |
uint64 | used_host_memory () const |
uint64 | used_device_memory () const |
Public Members | |
uint32 | Q |
the q-gram size More... | |
uint32 | symbol_size |
symbol size More... | |
uint32 | n_qgrams |
the number of q-grams in the original string More... | |
uint32 | n_unique_qgrams |
the number of unique q-grams in the original string More... | |
qgram_vector_type | qgrams |
the sorted list of unique q-grams More... | |
index_vector_type | slots |
slots[i] stores the first occurrence of q-grams[i] in index More... | |
coord_vector_type | index |
the list of occurrences of all (partially-sorted) q-grams in the original string More... | |
uint32 | QL |
the number of LUT symbols More... | |
uint32 | QLS |
the number of leading bits of a q-gram to lookup in the LUT More... | |
index_vector_type | lut |
a LUT used to accelerate q-gram searches More... | |
typedef QGramIndexViewCore<const QGramType*,const IndexType*,const CoordType*> nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::const_plain_view_type |
typedef CoordType nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::coord_type |
typedef nvbio::vector<system_tag,coord_type> nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::coord_vector_type |
typedef IndexType nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::index_type |
typedef nvbio::vector<system_tag,index_type> nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::index_vector_type |
typedef QGramIndexViewCore<QGramType*,IndexType*,CoordType*> nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::plain_view_type |
typedef QGramType nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::qgram_type |
typedef nvbio::vector<system_tag,qgram_type> nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::qgram_vector_type |
typedef SystemTag nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::system_tag |
|
inline |
|
inline |
|
inline |
coord_vector_type nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::index |
index_vector_type nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::lut |
uint32 nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::n_qgrams |
uint32 nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::n_unique_qgrams |
uint32 nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::Q |
qgram_vector_type nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::qgrams |
uint32 nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::QL |
uint32 nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::QLS |
index_vector_type nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::slots |
uint32 nvbio::QGramIndexCore< SystemTag, QGramType, IndexType, CoordType >::symbol_size |