Go to the documentation of this file.
31 #ifndef __CLAW_GAME_AI_HPP__
32 #define __CLAW_GAME_AI_HPP__
53 template<
typename Action,
typename Numeric =
int>
76 virtual void next_actions( std::list<action>& l )
const = 0;
86 virtual bool final()
const = 0;
109 template <
typename Action,
typename Numeric>
138 template <
typename State>
149 typedef typename State::score
score;
152 (
int depth,
const state& current_state,
bool computer_turn )
const;
166 template <
typename State>
177 typedef typename State::score
score;
180 (
int depth,
const state& current_state,
bool computer_turn )
const;
184 (
int depth,
const state& current_state,
bool computer_turn,
198 template<
typename Method>
203 typedef typename Method::state
state;
209 typedef typename Method::score
score;
212 (
int depth,
const state& current_state,
action& new_action,
213 bool computer_turn )
const;
226 template<
typename Method>
231 typedef typename Method::state
state;
237 typedef typename Method::score
score;
240 action& new_action,
bool computer_turn )
const;
249 #endif // __CLAW_IA_JEUX_HPP__