#include "osl/move_generator/escape_.h"
#include "osl/move_action/concept.h"
#include "osl/move_action/store.h"
#include "osl/move_generator/capture_.h"
#include "osl/container/moveVector.h"
ネームスペース | |
namespace | osl |
| |
namespace | osl::move_generator |
低レベルの指手生成 | |
namespace | osl::move_generator::escape |
関数 | |
template<Player P, class Action , Ptype Type> | |
bool | osl::move_generator::escape::generateDrop (const NumEffectState &state, Position to, Action &action) |
Tの駒をtoに打つ手を生成する. 生成できたらtrueを返す.. | |
template<Player P, class Action , bool CheapOnly> | |
void | osl::move_generator::escape::generateDropAll (const NumEffectState &state, Position to, Action &action) |
template<Player P, class Action , bool CheapOnly> | |
void | osl::move_generator::escape::blockByMoveOne (const NumEffectState &state, Position pos, Action &action) |
安い駒でposへ移動する手を生成する. 自殺手も生成している. TODO: あんまりなif文 PAWN,LANCE mask, それ以外maskでOK |