Zip and Skip Tries
Loading...
Searching...
No Matches
src
synthetic.hpp
Go to the documentation of this file.
1
16
#pragma once
17
18
#include <string>
19
#include <vector>
20
34
std::string
get_random_word
(
size_t
length
)
noexcept
;
35
62
std::vector<std::string>
get_random_words
(
size_t
length
,
size_t
num_words
,
double
mean_lcp_length
)
noexcept
;
alloc_to_device
T * alloc_to_device(size_t size)
Allocates memory on the CUDA device.
Definition
cuda_utils.cuh:190
get_random_word
std::string get_random_word(size_t length) noexcept
Generates a random string of specified length.
Definition
synthetic.cpp:59
get_random_words
std::vector< std::string > get_random_words(size_t length, size_t num_words, double mean_lcp_length) noexcept
Generates a collection of random strings with controlled commonality.
Definition
synthetic.cpp:100
Generated by
1.9.8