Public Member Functions | Private Attributes

ai::testing_ai_default::candidate_action_evaluation_loop Class Reference

#include <stage_rca.hpp>

Inheritance diagram for ai::testing_ai_default::candidate_action_evaluation_loop:
Inheritance graph
[legend]
Collaboration diagram for ai::testing_ai_default::candidate_action_evaluation_loop:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 candidate_action_evaluation_loop (ai_context &context, const config &cfg)
 ~candidate_action_evaluation_loop ()
bool do_play_stage ()
void on_create ()
config to_config () const
rca_contextget_rca_context ()
 Unwrap.
void create_candidate_action (std::vector< candidate_action_ptr > &candidate_actions, const config &cfg)
void remove_completed_cas ()

Private Attributes

std::vector< candidate_action_ptrcandidate_actions_
const configcfg_

Detailed Description

Definition at line 37 of file stage_rca.hpp.


Constructor & Destructor Documentation

ai::testing_ai_default::candidate_action_evaluation_loop::candidate_action_evaluation_loop ( ai_context context,
const config cfg 
)

Definition at line 42 of file stage_rca.cpp.

ai::testing_ai_default::candidate_action_evaluation_loop::~candidate_action_evaluation_loop (  ) 

Definition at line 204 of file stage_rca.cpp.


Member Function Documentation

void ai::testing_ai_default::candidate_action_evaluation_loop::create_candidate_action ( std::vector< candidate_action_ptr > &  candidate_actions,
const config cfg 
)

Definition at line 63 of file stage_rca.cpp.

References ai::engine::parse_candidate_action_from_config().

Referenced by on_create().

Here is the call graph for this function:

Here is the caller graph for this function:

bool ai::testing_ai_default::candidate_action_evaluation_loop::do_play_stage (  ) 
rca_context & ai::testing_ai_default::candidate_action_evaluation_loop::get_rca_context (  )  [virtual]

Unwrap.

Implements ai::rca_context.

Definition at line 199 of file stage_rca.cpp.

void ai::testing_ai_default::candidate_action_evaluation_loop::on_create (  ) 
void ai::testing_ai_default::candidate_action_evaluation_loop::remove_completed_cas (  ) 

Definition at line 151 of file stage_rca.cpp.

References candidate_actions_, ai::stage::get_id(), ai::side_context::get_side(), ai::manager::modify_active_ai_for_side(), and game_config::path.

Referenced by do_play_stage().

Here is the call graph for this function:

Here is the caller graph for this function:

config ai::testing_ai_default::candidate_action_evaluation_loop::to_config (  )  const

Definition at line 69 of file stage_rca.cpp.

References config::add_child(), and candidate_actions_.

Here is the call graph for this function:


Member Data Documentation

Definition at line 56 of file stage_rca.hpp.

Referenced by do_play_stage(), on_create(), remove_completed_cas(), and to_config().

Definition at line 58 of file stage_rca.hpp.

Referenced by on_create().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:19:17 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs