The Battle for Wesnoth  1.19.0-dev
Classes | Namespaces | Typedefs
ai.hpp File Reference

Defines formula ai. More...

#include "ai/contexts.hpp"
#include "ai/formula/function_table.hpp"
#include "ai/formula/callable_objects.hpp"
#include "ai/formula/candidates.hpp"
#include "config.hpp"
#include "formula/callable.hpp"
#include "formula/formula_fwd.hpp"
#include "pathfind/teleport.hpp"
#include "units/map.hpp"
#include <set>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for ai.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wfl::unit_formula_compare
 
class  ai::formula_ai
 

Namespaces

 ai
 A small explanation about what's going on here: Each action has access to two game_info objects First is 'info' - real information Second is 'subjective info' - AIs perception of what's going on So, when we check_before action, we use 'subjective info' and don't touch real 'info' at all.
 
 wfl
 
 pathfind
 

Typedefs

typedef std::pair< unit_map::unit_iterator, int > wfl::unit_formula_pair
 
typedef std::multiset< unit_formula_pair, unit_formula_compare > wfl::unit_formula_set
 

Detailed Description

Defines formula ai.

Definition in file ai.hpp.