The Battle for Wesnoth  1.19.5+dev
Classes | Namespaces | Macros | Variables
stage_rca.cpp File Reference

Candidate actions evaluator. More...

#include "ai/default/stage_rca.hpp"
#include "ai/manager.hpp"
#include "ai/composite/engine.hpp"
#include "ai/composite/property_handler.hpp"
#include "ai/composite/rca.hpp"
#include "ai/gamestate_observer.hpp"
#include "log.hpp"
#include <functional>
Include dependency graph for stage_rca.cpp:

Go to the source code of this file.

Classes

class  ai::ai_default_rca::desc_sorter_of_candidate_actions
 

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.
 
 ai::ai_default_rca
 

Macros

#define DBG_AI_TESTING_RCA_DEFAULT   LOG_STREAM(debug, log_ai_testing_rca_default)
 
#define LOG_AI_TESTING_RCA_DEFAULT   LOG_STREAM(info, log_ai_testing_rca_default)
 
#define ERR_AI_TESTING_RCA_DEFAULT   LOG_STREAM(err, log_ai_testing_rca_default)
 

Variables

static lg::log_domain ai::ai_default_rca::log_ai_testing_rca_default ("ai/stage/rca")
 

Detailed Description

Candidate actions evaluator.

Definition in file stage_rca.cpp.

Macro Definition Documentation

◆ DBG_AI_TESTING_RCA_DEFAULT

#define DBG_AI_TESTING_RCA_DEFAULT   LOG_STREAM(debug, log_ai_testing_rca_default)

Definition at line 37 of file stage_rca.cpp.

◆ ERR_AI_TESTING_RCA_DEFAULT

#define ERR_AI_TESTING_RCA_DEFAULT   LOG_STREAM(err, log_ai_testing_rca_default)

Definition at line 39 of file stage_rca.cpp.

◆ LOG_AI_TESTING_RCA_DEFAULT

#define LOG_AI_TESTING_RCA_DEFAULT   LOG_STREAM(info, log_ai_testing_rca_default)

Definition at line 38 of file stage_rca.cpp.