#include <king8.h>
Public メソッド | |
DefenseKing8 (Ptype s, bool d, int dan) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
Static Public メソッド | |
static const std::string | name (Ptype self, bool drop, int danger) |
static int | count (const NumEffectState &state) |
static bool | blocking (const NumEffectState &state, Position king, Position to) |
static bool | matchDrop (const NumEffectState &state, Move move) |
static bool | matchMove (const NumEffectState &state, Move move) |
Private 変数 | |
Ptype | self |
bool | drop |
int | danger |
rating/feature/king8.h の 47 行で定義されています。
osl::rating::DefenseKing8::DefenseKing8 | ( | Ptype | s, | |
bool | d, | |||
int | dan | |||
) | [inline] |
rating/feature/king8.h の 54 行で定義されています。
static bool osl::rating::DefenseKing8::blocking | ( | const NumEffectState & | state, | |
Position | king, | |||
Position | to | |||
) | [inline, static] |
rating/feature/king8.h の 77 行で定義されています。
参照先 osl::alt(), osl::BISHOP, osl::move_generator::addeffect8::hasEffect(), osl::LANCE, osl::newPtypeO(), と osl::ROOK.
参照元 matchDrop(), と matchMove().
static int osl::rating::DefenseKing8::count | ( | const NumEffectState & | state | ) | [inline, static] |
rating/feature/king8.h の 58 行で定義されています。
参照先 osl::alt(), と osl::eval::min().
参照元 osl::rating::DefenseKing8Group::findMatch(), osl::rating::RatingEnv::make(), と match().
bool osl::rating::DefenseKing8::match | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | ||||
) | const [inline, virtual] |
osl::rating::Featureを実装しています。
rating/feature/king8.h の 115 行で定義されています。
参照先 count(), danger, drop, matchDrop(), matchMove(), と osl::Move::ptype().
static bool osl::rating::DefenseKing8::matchDrop | ( | const NumEffectState & | state, | |
Move | move | |||
) | [inline, static] |
static bool osl::rating::DefenseKing8::matchMove | ( | const NumEffectState & | state, | |
Move | move | |||
) | [inline, static] |
const std::string osl::rating::DefenseKing8::name | ( | Ptype | self, | |
bool | drop, | |||
int | danger | |||
) | [static] |
rating/feature/king8.cc の 11 行で定義されています。
int osl::rating::DefenseKing8::danger [private] |
rating/feature/king8.h の 51 行で定義されています。
参照元 match().
bool osl::rating::DefenseKing8::drop [private] |
rating/feature/king8.h の 50 行で定義されています。
参照元 match().
Ptype osl::rating::DefenseKing8::self [private] |
rating/feature/king8.h の 49 行で定義されています。