#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"
Go to the source code of this file.
Namespaces | |
namespace | osl |
| |
namespace | osl::move_generator |
低レベルの指手生成 | |
namespace | osl::move_generator::escape |
Defines | |
#define | OSL_GENERATE_ESCAPE_MOVES_TCC |
Functions | |
template<Player P, class Action , Ptype Type> | |
bool | osl::move_generator::escape::generateDrop (const NumEffectState &state, Square to, Action &action) |
Tの駒をtoに打つ手を生成する. 生成できたらtrueを返す. | |
template<Player P, class Action , bool CheapOnly> | |
void | osl::move_generator::escape::generateDropAll (const NumEffectState &state, Square to, Action &action) |
template<Player P, class Action , bool CheapOnly> | |
void | osl::move_generator::escape::blockByMoveOne (const NumEffectState &state, Square pos, Action &action) |
安い駒でposへ移動する手を生成する. 自殺手も生成している. TODO: あんまりなif文 PAWN,LANCE mask, それ以外maskでOK |
#define OSL_GENERATE_ESCAPE_MOVES_TCC |
Definition at line 2 of file escape_.tcc.