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::SSA_index_multiple< K, index_type > Struct Template Reference

Detailed description

template< uint32 K, typename index_type = uint32>
struct nvbio::SSA_index_multiple< K, index_type >

Build a sampled suffix array storing only the values at positions which are a multiple of K, i.e. { SA[i] | i % K = 0 }

Definition at line 255 of file ssa.h.

#include <ssa.h>

Public Types

typedef index_type value_type
 
typedef
SSA_index_multiple_context< K,
const index_type * > 
context_type
 
typedef
SSA_index_multiple_device< K,
index_type > 
device_type
 
typedef context_type device_view_type
 
typedef context_type plain_view_type
 

Public Methods

 SSA_index_multiple ()
 
 SSA_index_multiple (const index_type n, const index_type *sa)
 
template<typename FMIndexType >
 SSA_index_multiple (const FMIndexType &fmi)
 
 SSA_index_multiple (const SSA_index_multiple_device< K, index_type > &ssa)
 
SSA_index_multipleoperator= (const SSA_index_multiple_device< K, index_type > &ssa)
 
context_type get_context () const
 

Public Members

index_type m_n
 
std::vector< index_type > m_ssa
 

Member Typedef Documentation

template<uint32 K, typename index_type = uint32>
typedef SSA_index_multiple_context<K, const index_type*> nvbio::SSA_index_multiple< K, index_type >::context_type

Definition at line 258 of file ssa.h.

template<uint32 K, typename index_type = uint32>
typedef SSA_index_multiple_device<K,index_type> nvbio::SSA_index_multiple< K, index_type >::device_type

Definition at line 259 of file ssa.h.

template<uint32 K, typename index_type = uint32>
typedef context_type nvbio::SSA_index_multiple< K, index_type >::device_view_type

Definition at line 260 of file ssa.h.

template<uint32 K, typename index_type = uint32>
typedef context_type nvbio::SSA_index_multiple< K, index_type >::plain_view_type

Definition at line 261 of file ssa.h.

template<uint32 K, typename index_type = uint32>
typedef index_type nvbio::SSA_index_multiple< K, index_type >::value_type

Definition at line 257 of file ssa.h.

Constructor & Destructor Documentation

template<uint32 K, typename index_type = uint32>
nvbio::SSA_index_multiple< K, index_type >::SSA_index_multiple ( )
inline

empty constructor

Definition at line 265 of file ssa.h.

template<uint32 K, typename index_type >
nvbio::SSA_index_multiple< K, index_type >::SSA_index_multiple ( const index_type  n,
const index_type *  sa 
)
inline

constructor

Parameters
nnumber of entries in the SA
sasuffix array

Definition at line 264 of file ssa_inl.h.

template<uint32 K, typename index_type >
template<typename FMIndexType >
nvbio::SSA_index_multiple< K, index_type >::SSA_index_multiple ( const FMIndexType &  fmi)

constructor

Parameters
fmiFM index
Kcompression factor

Definition at line 284 of file ssa_inl.h.

template<uint32 K, typename index_type >
nvbio::SSA_index_multiple< K, index_type >::SSA_index_multiple ( const SSA_index_multiple_device< K, index_type > &  ssa)

constructor

Parameters
ssadevice-side ssa

Definition at line 315 of file ssa_inl.h.

Member Function Documentation

template<uint32 K, typename index_type = uint32>
context_type nvbio::SSA_index_multiple< K, index_type >::get_context ( ) const
inline

get a context

Definition at line 297 of file ssa.h.

template<uint32 K, typename index_type >
SSA_index_multiple< K, index_type > & nvbio::SSA_index_multiple< K, index_type >::operator= ( const SSA_index_multiple_device< K, index_type > &  ssa)

copy operator

Parameters
ssadevice-side ssa

Definition at line 330 of file ssa_inl.h.

Member Data Documentation

template<uint32 K, typename index_type = uint32>
index_type nvbio::SSA_index_multiple< K, index_type >::m_n

Definition at line 299 of file ssa.h.

template<uint32 K, typename index_type = uint32>
std::vector<index_type> nvbio::SSA_index_multiple< K, index_type >::m_ssa

Definition at line 300 of file ssa.h.


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