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::localize_suffix_functor Struct Reference

Detailed description

A functor to localize suffixes, making the conversion: global-suffix-id -> (string-id,suffix-id)

Definition at line 550 of file sufsort_priv.h.

#include <sufsort_priv.h>

Public Types

typedef uint32 argument_type
typedef uint2 result_type

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE localize_suffix_functor (const uint32 *_cum_lengths, const uint32 *_string_ids, const uint32 _string_offset=0u)
NVBIO_HOST_DEVICE result_type 
operator() (const uint32 global_suffix_idx) const

Public Members

const uint32cum_lengths
const uint32string_ids
const uint32 string_offset

Member Typedef Documentation

Definition at line 552 of file sufsort_priv.h.

Definition at line 553 of file sufsort_priv.h.

Constructor & Destructor Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::priv::localize_suffix_functor::localize_suffix_functor ( const uint32 _cum_lengths,
const uint32 _string_ids,
const uint32  _string_offset = 0u 


Definition at line 558 of file sufsort_priv.h.

Member Function Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::priv::localize_suffix_functor::operator() ( const uint32  global_suffix_idx) const

return the localized suffix

Definition at line 566 of file sufsort_priv.h.

Member Data Documentation

const uint32* nvbio::priv::localize_suffix_functor::cum_lengths

Definition at line 574 of file sufsort_priv.h.

const uint32* nvbio::priv::localize_suffix_functor::string_ids

Definition at line 575 of file sufsort_priv.h.

const uint32 nvbio::priv::localize_suffix_functor::string_offset

Definition at line 576 of file sufsort_priv.h.

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