#include <position.h>


Public メソッド | |
| RelativeKingX (int ix, int iox, bool a, Ptype p) | |
| bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
Static Public メソッド | |
| static const std::string | name (int x, int old_x, bool, Ptype) |
| static int | makeX (bool attack, const NumEffectState &state, Move move) |
| static int | makeOldX (bool attack, const NumEffectState &state, Move move) |
| static int | index (bool attack, const NumEffectState &state, Move move) |
Private 変数 | |
| int | x |
| int | old_x |
| Ptype | ptype |
| bool | attack |
rating/feature/position.h の 43 行で定義されています。
| osl::rating::RelativeKingX::RelativeKingX | ( | int | ix, | |
| int | iox, | |||
| bool | a, | |||
| Ptype | p | |||
| ) | [inline] |
rating/feature/position.h の 50 行で定義されています。
| static int osl::rating::RelativeKingX::index | ( | bool | attack, | |
| const NumEffectState & | state, | |||
| Move | move | |||
| ) | [inline, static] |
rating/feature/position.h の 72 行で定義されています。
参照先 makeOldX(), makeX(), old_x, osl::Move::ptype(), ptype, osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, と x.
| static int osl::rating::RelativeKingX::makeOldX | ( | bool | attack, | |
| const NumEffectState & | state, | |||
| Move | move | |||
| ) | [inline, static] |
rating/feature/position.h の 59 行で定義されています。
参照先 osl::alt(), osl::Move::from(), osl::Move::isDrop(), osl::Move::player(), と osl::Position::x().
| static int osl::rating::RelativeKingX::makeX | ( | bool | attack, | |
| const NumEffectState & | state, | |||
| Move | move | |||
| ) | [inline, static] |
rating/feature/position.h の 53 行で定義されています。
参照先 osl::alt(), osl::Move::player(), osl::Move::to(), と osl::Position::x().
| bool osl::rating::RelativeKingX::match | ( | const NumEffectState & | state, | |
| Move | move, | |||
| const RatingEnv & | ||||
| ) | const [inline, virtual] |
osl::rating::Featureを実装しています。
rating/feature/position.h の 66 行で定義されています。
参照先 attack, makeOldX(), makeX(), old_x, osl::Move::ptype(), ptype, と x.
| const std::string osl::rating::RelativeKingX::name | ( | int | x, | |
| int | old_x, | |||
| bool | , | |||
| Ptype | ptype | |||
| ) | [static] |
rating/feature/position.cc の 8 行で定義されています。
bool osl::rating::RelativeKingX::attack [private] |
rating/feature/position.h の 47 行で定義されています。
参照元 match().
int osl::rating::RelativeKingX::old_x [private] |
rating/feature/position.h の 45 行で定義されています。
Ptype osl::rating::RelativeKingX::ptype [private] |
rating/feature/position.h の 46 行で定義されています。
int osl::rating::RelativeKingX::x [private] |
rating/feature/position.h の 45 行で定義されています。
1.6.3