The Battle for Wesnoth  1.15.1+dev
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 "utils/context_free_grammar_generator.hpp"
#include "log.hpp"
#include "random.hpp"
#include "serialization/string_utils.hpp"
#include <algorithm>
#include <boost/algorithm/string.hpp>
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.