駒を取る手を生成 [詳細]
#include <capture_.h>
Static Public メソッド | |
| template<Player P> | |
| static void | generate (const NumEffectState &state, Position target, Action &action) |
| template<Player P> | |
| static void | escapeByCapture (const NumEffectState &state, Position target, Piece piece, Action &action) |
| template<Player P> | |
| static void | generate1 (const NumEffectState &state, Position target, Action &action) |
| 取る手を1手だけ作る | |
Private メソッド | |
| BOOST_CLASS_REQUIRE (Action, osl::move_action, Concept) | |
駒を取る手を生成
capture_.h の 19 行で定義されています。
| osl::move_generator::Capture< Action >::BOOST_CLASS_REQUIRE | ( | Action | , | |
| osl::move_action | , | |||
| Concept | ||||
| ) | [private] |
| void osl::move_generator::Capture< Action >::escapeByCapture | ( | const NumEffectState & | state, | |
| Position | target, | |||
| Piece | piece, | |||
| Action & | action | |||
| ) | [inline, static] |
| target | 取る駒の位置 (can be empty) | |
| piece | この駒以外で取る before 2009/12/20 pinを考慮していなかった |
capture_.tcc の 46 行で定義されています。
参照先 osl::Piece::number().
| void osl::move_generator::Capture< Action >::generate | ( | const NumEffectState & | state, | |
| Position | target, | |||
| Action & | action | |||
| ) | [inline, static] |
| void osl::move_generator::Capture< Action >::generate1 | ( | const NumEffectState & | state, | |
| Position | target, | |||
| Action & | action | |||
| ) | [inline, static] |
1.6.3