bool is_valid() const override
Checks if the object is initialized.
std::vector< std::vector< std::string > > possibilities_
std::string generate() const override
Generates a possible word in the grammar set before.
context_free_grammar_generator(const std::string &source)
Initialisation.
std::string print_nonterminal(const std::string &name, uint32_t *seed, short int seed_pos) const
std::map< std::string, nonterminal > nonterminals_
~context_free_grammar_generator()
static const short unsigned int seed_size