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::DCS_string_suffix_less< SYMBOL_SIZE, string_type > Struct Template Reference

Detailed description

template< uint32 SYMBOL_SIZE, typename string_type>
struct nvbio::priv::DCS_string_suffix_less< SYMBOL_SIZE, string_type >

A binary functor comparing two suffixes lexicographically using a Difference Cover Sample

Definition at line 247 of file dcs.h.

#include <dcs.h>

Public Types

typedef uint32 first_argument_type
 
typedef uint32 second_argument_type
 
typedef uint32 result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE DCS_string_suffix_less (const uint64 _string_len, const string_type _string, const DCSView _dcs)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const uint64 suffix_idx1, const uint64 suffix_idx2) const
 

Public Members

const uint64 string_len
 
const string_type string
 
const DCSView dcs
 

Member Typedef Documentation

template<uint32 SYMBOL_SIZE, typename string_type >
typedef uint32 nvbio::priv::DCS_string_suffix_less< SYMBOL_SIZE, string_type >::first_argument_type

Definition at line 249 of file dcs.h.

template<uint32 SYMBOL_SIZE, typename string_type >
typedef uint32 nvbio::priv::DCS_string_suffix_less< SYMBOL_SIZE, string_type >::result_type

Definition at line 251 of file dcs.h.

template<uint32 SYMBOL_SIZE, typename string_type >
typedef uint32 nvbio::priv::DCS_string_suffix_less< SYMBOL_SIZE, string_type >::second_argument_type

Definition at line 250 of file dcs.h.

Constructor & Destructor Documentation

template<uint32 SYMBOL_SIZE, typename string_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::priv::DCS_string_suffix_less< SYMBOL_SIZE, string_type >::DCS_string_suffix_less ( const uint64  _string_len,
const string_type  _string,
const DCSView  _dcs 
)
inline

constructor

Definition at line 256 of file dcs.h.

Member Function Documentation

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

return true if the first suffix is lexicographically smaller than the second, false otherwise

Definition at line 267 of file dcs.h.

Member Data Documentation

template<uint32 SYMBOL_SIZE, typename string_type >
const DCSView nvbio::priv::DCS_string_suffix_less< SYMBOL_SIZE, string_type >::dcs

Definition at line 353 of file dcs.h.

template<uint32 SYMBOL_SIZE, typename string_type >
const string_type nvbio::priv::DCS_string_suffix_less< SYMBOL_SIZE, string_type >::string

Definition at line 352 of file dcs.h.

template<uint32 SYMBOL_SIZE, typename string_type >
const uint64 nvbio::priv::DCS_string_suffix_less< SYMBOL_SIZE, string_type >::string_len

Definition at line 351 of file dcs.h.


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