Classes | Namespaces | Defines | Variables

ai/testing/stage_rca.cpp File Reference

Candidate actions evaluator. More...

#include "stage_rca.hpp"
#include "../manager.hpp"
#include "../composite/ai.hpp"
#include "../composite/engine.hpp"
#include "../composite/property_handler.hpp"
#include "../gamestate_observer.hpp"
#include "../../foreach.hpp"
#include "../../log.hpp"
#include <boost/bind.hpp>
Include dependency graph for stage_rca.cpp:

Go to the source code of this file.

Classes

class  ai::testing_ai_default::desc_sorter_of_candidate_actions

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.


namespace  ai::testing_ai_default

Defines

#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::testing_ai_default::log_ai_testing_rca_default ("ai/stage/rca")

Detailed Description

Candidate actions evaluator.

Definition in file stage_rca.cpp.


Define Documentation

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

Definition at line 40 of file stage_rca.cpp.

#define LOG_AI_TESTING_RCA_DEFAULT   LOG_STREAM(info, log_ai_testing_rca_default)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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