Select a random action among the best ones. More...
#include <game_ai.hpp>
Public Types | |
typedef Method::state | state |
The type of a state in the game. | |
typedef Method::action | action |
The type of the actions that change the state of the game. | |
typedef Method::score | score |
The type used to represent the score. | |
Public Member Functions | |
void | operator() (int depth, const state ¤t_state, action &new_action, bool computer_turn) const |
Select a random action among the best ones.
Template parameters:
Definition at line 229 of file game_ai.hpp.
typedef Method::action claw::ai::game::select_random_action< Method >::action |
The type of the actions that change the state of the game.
Definition at line 237 of file game_ai.hpp.
typedef Method::score claw::ai::game::select_random_action< Method >::score |
The type used to represent the score.
Definition at line 240 of file game_ai.hpp.
typedef Method::state claw::ai::game::select_random_action< Method >::state |
The type of a state in the game.
Definition at line 233 of file game_ai.hpp.