Namespaces | Defines | Functions
escape_.tcc File Reference
#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"
Include dependency graph for escape_.tcc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  osl
 

attackDefense.h


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 Documentation

Definition at line 2 of file escape_.tcc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines