template<
uint32 SYMBOL_SIZE,
uint32 N_BITS,
uint32 DOLLAR_BITS>
struct nvbio::priv::StringSuffixBucketer< SYMBOL_SIZE, N_BITS, DOLLAR_BITS >
A context class to perform suffix bucketing
Definition at line 1340 of file sufsort_priv.h.
|
| StringSuffixBucketer () |
|
template<typename suffix_iterator , typename string_type > |
void | count (const uint32 n_suffixes, const suffix_iterator suffixes, const uint32 string_length, const string_type &string) |
|
template<typename suffix_iterator , typename string_type , typename bucketmap_iterator , typename output_iterator > |
uint32 | collect (const uint32 n_suffixes, const suffix_iterator suffixes, const uint64 string_length, const string_type &string, const uint32 bucket_begin, const uint32 bucket_end, const bucketmap_iterator bucketmap, output_iterator output_radices, output_iterator output_indices) |
|
template<uint32 SYMBOL_SIZE, uint32 N_BITS, uint32 DOLLAR_BITS>
template<typename suffix_iterator , typename string_type , typename bucketmap_iterator , typename output_iterator >
uint32 nvbio::priv::StringSuffixBucketer< SYMBOL_SIZE, N_BITS, DOLLAR_BITS >::collect |
( |
const uint32 |
n_suffixes, |
|
|
const suffix_iterator |
suffixes, |
|
|
const uint64 |
string_length, |
|
|
const string_type & |
string, |
|
|
const uint32 |
bucket_begin, |
|
|
const uint32 |
bucket_end, |
|
|
const bucketmap_iterator |
bucketmap, |
|
|
output_iterator |
output_radices, |
|
|
output_iterator |
output_indices |
|
) |
| |
|
inline |
collect the suffixes falling in a given set of buckets, where the buckets are defined by the first n_bits of the suffix
Definition at line 1418 of file sufsort_priv.h.
template<uint32 SYMBOL_SIZE, uint32 N_BITS, uint32 DOLLAR_BITS>
template<typename suffix_iterator , typename string_type >
count the number of suffixes falling in each bucket, where the buckets are defined by the first n_bits of the suffix
Definition at line 1350 of file sufsort_priv.h.