#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, Square king, Square to) |
static bool | matchDrop (const NumEffectState &state, Move move) |
static bool | matchMove (const NumEffectState &state, Move move) |
Private 変数 | |
Ptype | self |
bool | drop |
int | danger |
std/osl/rating/feature/king8.h の 46 行で定義されています。
osl::rating::DefenseKing8::DefenseKing8 | ( | Ptype | s, | |
bool | d, | |||
int | dan | |||
) | [inline] |
std/osl/rating/feature/king8.h の 53 行で定義されています。
static bool osl::rating::DefenseKing8::blocking | ( | const NumEffectState & | state, | |
Square | king, | |||
Square | to | |||
) | [inline, static] |
std/osl/rating/feature/king8.h の 76 行で定義されています。
参照先 osl::alt(), osl::BISHOP, osl::NumEffectState::findAttackAt(), osl::LANCE, osl::newPtypeO(), osl::ROOK, と osl::SimpleState::turn().
参照元 matchDrop(), と matchMove().
static int osl::rating::DefenseKing8::count | ( | const NumEffectState & | state | ) | [inline, static] |
std/osl/rating/feature/king8.h の 57 行で定義されています。
参照先 osl::alt(), osl::NumEffectState::hasEffectAt(), osl::Piece::isEdge(), osl::SimpleState::kingSquare(), osl::eval::min(), osl::SimpleState::pieceAt(), と osl::SimpleState::turn().
参照元 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を実装しています。
std/osl/rating/feature/king8.h の 114 行で定義されています。
参照先 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] |
int osl::rating::DefenseKing8::danger [private] |
std/osl/rating/feature/king8.h の 50 行で定義されています。
参照元 match().
bool osl::rating::DefenseKing8::drop [private] |
std/osl/rating/feature/king8.h の 49 行で定義されています。
参照元 match().
Ptype osl::rating::DefenseKing8::self [private] |
std/osl/rating/feature/king8.h の 48 行で定義されています。