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::priv::string_suffix_difference< string_type > Struct Template Reference

Detailed description

template< typename string_type>
struct nvbio::priv::string_suffix_difference< string_type >

A binary functor calculating whether two suffixes differ (returning 1) or not (returning 0)

Definition at line 774 of file sufsort_priv.h.

#include <sufsort_priv.h>

Public Types

typedef uint32 first_argument_type
 
typedef uint32 second_argument_type
 
typedef uint32 result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE string_suffix_difference (const uint64 _string_len, const string_type _string, const uint32 _cmp_len)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const uint64 suffix_idx1, const uint64 suffix_idx2) const
 

Public Members

const uint64 string_len
 
string_type string
 
uint32 cmp_len
 

Member Typedef Documentation

template<typename string_type >
typedef uint32 nvbio::priv::string_suffix_difference< string_type >::first_argument_type

Definition at line 776 of file sufsort_priv.h.

template<typename string_type >
typedef uint32 nvbio::priv::string_suffix_difference< string_type >::result_type

Definition at line 778 of file sufsort_priv.h.

template<typename string_type >
typedef uint32 nvbio::priv::string_suffix_difference< string_type >::second_argument_type

Definition at line 777 of file sufsort_priv.h.

Constructor & Destructor Documentation

template<typename string_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::priv::string_suffix_difference< string_type >::string_suffix_difference ( const uint64  _string_len,
const string_type  _string,
const uint32  _cmp_len 
)
inline

constructor

Definition at line 783 of file sufsort_priv.h.

Member Function Documentation

template<typename string_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::priv::string_suffix_difference< string_type >::operator() ( const uint64  suffix_idx1,
const uint64  suffix_idx2 
) const
inline

return the w'th word of the i-th string

Definition at line 791 of file sufsort_priv.h.

Member Data Documentation

template<typename string_type >
uint32 nvbio::priv::string_suffix_difference< string_type >::cmp_len

Definition at line 809 of file sufsort_priv.h.

template<typename string_type >
string_type nvbio::priv::string_suffix_difference< string_type >::string

Definition at line 808 of file sufsort_priv.h.

template<typename string_type >
const uint64 nvbio::priv::string_suffix_difference< string_type >::string_len

Definition at line 807 of file sufsort_priv.h.


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