The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
context_free_grammar_generator.cpp File Reference

Algorithm to generate names using a context-free grammar, which allows more control than the usual Markov chain generator. More...

#include "context_free_grammar_generator.hpp"
#include "log.hpp"
#include "random_new.hpp"
#include "serialization/string_utils.hpp"
#include <algorithm>
Include dependency graph for context_free_grammar_generator.cpp:

Go to the source code of this file.

Detailed Description

Algorithm to generate names using a context-free grammar, which allows more control than the usual Markov chain generator.

Definition in file context_free_grammar_generator.cpp.