#include <ca.hpp>


Public Member Functions | |
| leader_control_phase (rca_context &context, const config &cfg) | |
| virtual | ~leader_control_phase () |
| virtual double | evaluate () |
| Evaluate the candidate action, resetting the internal state of the action. | |
| virtual void | execute () |
| Execute the candidate action. | |
Definition at line 323 of file ca.hpp.
| ai::testing_ai_default::leader_control_phase::leader_control_phase | ( | rca_context & | context, | |
| const config & | cfg | |||
| ) |
| ai::testing_ai_default::leader_control_phase::~leader_control_phase | ( | ) | [virtual] |
| double ai::testing_ai_default::leader_control_phase::evaluate | ( | ) | [virtual] |
Evaluate the candidate action, resetting the internal state of the action.
| >0 | if the action is good | |
| <=0 | if the action is not good |
Implements ai::candidate_action.
Definition at line 1945 of file ca.cpp.
References ai::candidate_action::BAD_SCORE, ERR_AI_TESTING_AI_DEFAULT, and ai::candidate_action::get_name().

| void ai::testing_ai_default::leader_control_phase::execute | ( | ) | [virtual] |
Execute the candidate action.
Implements ai::candidate_action.
Definition at line 1953 of file ca.cpp.
References ERR_AI_TESTING_AI_DEFAULT, and ai::candidate_action::get_name().

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