The Markov generator is used to generate random strings (usually words or names) based on an input set of words.
More...
|
| MarkovGenerator (IEnumerable< string > samples, int minLength, int order=4) |
|
string | NextString (int maxAttempts=30) |
| Get the next generated string from the generator. MaxAttempts is the maximum number of tried to generate a unique string. More...
|
|
void | Reset () |
| Reset the generator, allowing previously generated strings to be generated again. More...
|
|
The Markov generator is used to generate random strings (usually words or names) based on an input set of words.
UniExtensions.MarkovGenerator.MarkovGenerator |
( |
IEnumerable< string > |
samples, |
|
|
int |
minLength, |
|
|
int |
order = 4 |
|
) |
| |
|
inline |
string UniExtensions.MarkovGenerator.NextString |
( |
int |
maxAttempts = 30 | ) |
|
|
inline |
Get the next generated string from the generator. MaxAttempts is the maximum number of tried to generate a unique string.
- Returns
- The string.
void UniExtensions.MarkovGenerator.Reset |
( |
| ) |
|
|
inline |
Reset the generator, allowing previously generated strings to be generated again.
The documentation for this class was generated from the following file: