NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
nvbio::FMIndexFilterDevice< fm_index_type > Struct Template Reference

Detailed description

template< typename fm_index_type>
struct nvbio::FMIndexFilterDevice< fm_index_type >

This class implements a FM-index filter which can be used to find and filter matches between an arbitrary string-set and an FM-index.
The filter will return an ordered set of (index-pos,string-id) pairs, where string-id is the index into the string-set and index-pos is an index into the FM-index.
Template Parameters
fm_index_typethe type of the fm-index

Definition at line 240 of file filter.h.

#include <filter.h>

Inheritance diagram for nvbio::FMIndexFilterDevice< fm_index_type >:
nvbio::FMIndexFilter< device_tag, fm_index_type >

Public Types

typedef FMIndexFilter
< device_tag, fm_index_type > 
core_type
 the base class More...
 
typedef core_type::system_tag system_tag
 the backend system More...
 
typedef core_type::index_type index_type
 the index type More...
 
typedef core_type::coord_type coord_type
 the coordinate type of the fm-index, uint32|uint2 More...
 
typedef core_type::range_type range_type
 the coordinate type of the filtered ranges More...
 
typedef core_type::hit_type hit_type
 hits are either uint2 or uint4 More...
 
- Public Types inherited from nvbio::FMIndexFilter< device_tag, fm_index_type >
typedef device_tag system_tag
 the backend system More...
 
typedef fm_index_type index_type
 the index type More...
 
typedef index_type::index_type coord_type
 the coordinate type of the fm-index, uint32|uint64|uint32_2|uint64_2 More...
 
typedef vector_type
< coord_type, 2 >::type 
range_type
 ranges are either uint32_2 or uint64_2; More...
 
typedef vector_type
< coord_type, hit_dim >::type 
hit_type
 hits are either uint2 or uint4 More...
 

Additional Inherited Members

- Public Methods inherited from nvbio::FMIndexFilter< device_tag, fm_index_type >
template<typename string_set_type >
uint64 rank (const fm_index_type &index, const string_set_type &string_set)
 
template<typename hits_iterator >
void locate (const uint64 begin, const uint64 end, hits_iterator hits)
 
uint64 n_hits () const
 
const range_typeranges () const
 
const uint64ranks () const
 
- Public Members inherited from nvbio::FMIndexFilter< device_tag, fm_index_type >
uint32 m_n_queries
 
index_type m_index
 
uint64 m_n_occurrences
 
thrust::device_vector< range_typem_ranges
 
thrust::device_vector< uint64m_slots
 
thrust::device_vector< hit_typem_hits
 
thrust::device_vector< uint8d_temp_storage
 
- Static Public Members inherited from nvbio::FMIndexFilter< device_tag, fm_index_type >
static const uint32 coord_dim = vector_traits<coord_type>::DIM
 
static const uint32 hit_dim = coord_dim*2
 hits are either uint2 or uint4 More...
 

Member Typedef Documentation

template<typename fm_index_type >
typedef core_type::coord_type nvbio::FMIndexFilterDevice< fm_index_type >::coord_type

the coordinate type of the fm-index, uint32|uint2

Definition at line 246 of file filter.h.

template<typename fm_index_type >
typedef FMIndexFilter<device_tag, fm_index_type> nvbio::FMIndexFilterDevice< fm_index_type >::core_type

the base class

Definition at line 242 of file filter.h.

template<typename fm_index_type >
typedef core_type::hit_type nvbio::FMIndexFilterDevice< fm_index_type >::hit_type

hits are either uint2 or uint4

Definition at line 248 of file filter.h.

template<typename fm_index_type >
typedef core_type::index_type nvbio::FMIndexFilterDevice< fm_index_type >::index_type

the index type

Definition at line 244 of file filter.h.

template<typename fm_index_type >
typedef core_type::range_type nvbio::FMIndexFilterDevice< fm_index_type >::range_type

the coordinate type of the filtered ranges

Definition at line 247 of file filter.h.

template<typename fm_index_type >
typedef core_type::system_tag nvbio::FMIndexFilterDevice< fm_index_type >::system_tag

the backend system

Definition at line 243 of file filter.h.


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