Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <RandomSubstringFactory.h>
Static Public Member Functions | |
template<class SymbolType > | |
static string::LinearString< SymbolType > | generateSubstring (size_t size, const string::LinearString< SymbolType > &string) |
Generates a radnom substring of given size from a string.
|
static |
Generates a random substring of a given size from a string.
SymbolType | the type of symbols in the string |
size | the length of generated substring |
string | the source string of the substring |
string