The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 "generic_event.hpp"
#include "pathfind/teleport.hpp"
#include "units/map.hpp"
#include <boost/noncopyable.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  game_logic::unit_formula_compare
 
class  ai::formula_ai
 
class  ai::formula_ai::gamestate_change_observer
 

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.
 
 game_logic
 
 pathfind
 

Typedefs

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

Detailed Description

Defines formula ai.

Definition in file ai.hpp.