Zip and Skip Tries
Loading...
Searching...
No Matches
synthetic.hpp
Go to the documentation of this file.
1
16#pragma once
17
18#include <string>
19#include <vector>
20
34std::string get_random_word(size_t length) noexcept;
35
62std::vector<std::string> get_random_words(size_t length, size_t num_words, double mean_lcp_length) noexcept;
T * alloc_to_device(size_t size)
Allocates memory on the CUDA device.
std::string get_random_word(size_t length) noexcept
Generates a random string of specified length.
Definition synthetic.cpp:59
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.