The Battle for Wesnoth  1.15.0-dev
Classes | Namespaces | Typedefs | Functions
rca.hpp File Reference

candidate action framework More...

#include "ai/composite/component.hpp"
#include "ai/composite/contexts.hpp"
Include dependency graph for rca.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::candidate_action
 
class  ai::candidate_action_factory
 
class  ai::register_candidate_action_factory< CANDIDATE_ACTION >
 

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.
 

Typedefs

typedef std::shared_ptr< candidate_action > ai::candidate_action_ptr
 

Functions

std::ostream & ai::operator<< (std::ostream &s, const ai::candidate_action &ca)
 

Detailed Description

candidate action framework

Definition in file rca.hpp.