Namespaces | Defines | Functions | Variables

ai/composite/rca.cpp File Reference

Candidate actions framework. More...

#include "ai.hpp"
#include "engine.hpp"
#include "rca.hpp"
#include "../../log.hpp"
Include dependency graph for rca.cpp:

Go to the source code of this file.

Namespaces

namespace  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.


Defines

#define DBG_AI_STAGE_RCA   LOG_STREAM(debug, log_ai_stage_rca)
#define LOG_AI_STAGE_RCA   LOG_STREAM(info, log_ai_stage_rca)
#define ERR_AI_STAGE_RCA   LOG_STREAM(err, log_ai_stage_rca)

Functions

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

Variables

static lg::log_domain ai::log_ai_stage_rca ("ai/stage/rca")

Detailed Description

Candidate actions framework.

Definition in file rca.cpp.


Define Documentation

#define DBG_AI_STAGE_RCA   LOG_STREAM(debug, log_ai_stage_rca)

Definition at line 29 of file rca.cpp.

#define ERR_AI_STAGE_RCA   LOG_STREAM(err, log_ai_stage_rca)

Definition at line 31 of file rca.cpp.

#define LOG_AI_STAGE_RCA   LOG_STREAM(info, log_ai_stage_rca)

Definition at line 30 of file rca.cpp.


Function Documentation

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

Definition at line 116 of file rca.cpp.

References ai::candidate_action::get_name().

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:39 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs