Find an action with the alpha-beta algorithm. More...
#include <game_ai.hpp>
Public Types | |
typedef State | state |
The type of a state in the game. | |
typedef State::action | action |
The type of the actions that change the state of the game. | |
typedef State::score | score |
The type used to represent the score. | |
Public Member Functions | |
score | operator() (int depth, const state ¤t_state, bool computer_turn) const |
Find an action with the alpha-beta algorithm.
Template parameters:
Definition at line 169 of file game_ai.hpp.
typedef State::action claw::ai::game::alpha_beta< State >::action |
The type of the actions that change the state of the game.
Definition at line 177 of file game_ai.hpp.
typedef State::score claw::ai::game::alpha_beta< State >::score |
The type used to represent the score.
Definition at line 180 of file game_ai.hpp.
typedef State claw::ai::game::alpha_beta< State >::state |
The type of a state in the game.
Definition at line 173 of file game_ai.hpp.