#include <position.h>


Public メソッド | |
| RelativeKingY (int iy, int ioy, bool a, Ptype p) | |
| bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
Static Public メソッド | |
| static const std::string | name (int y, int old_y, bool, Ptype ptype) |
| static int | makeY (bool attack, const NumEffectState &state, Move move) |
| static int | makeOldY (bool attack, const NumEffectState &state, Move move) |
| static int | index (bool attack, const NumEffectState &state, Move move) |
Private 変数 | |
| int | y |
| int | old_y |
| Ptype | ptype |
| bool | attack |
rating/feature/position.h の 80 行で定義されています。
| osl::rating::RelativeKingY::RelativeKingY | ( | int | iy, | |
| int | ioy, | |||
| bool | a, | |||
| Ptype | p | |||
| ) | [inline] |
rating/feature/position.h の 87 行で定義されています。
| static int osl::rating::RelativeKingY::index | ( | bool | attack, | |
| const NumEffectState & | state, | |||
| Move | move | |||
| ) | [inline, static] |
rating/feature/position.h の 115 行で定義されています。
参照先 makeOldY(), makeY(), old_y, osl::Move::ptype(), ptype, osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, と y.
| static int osl::rating::RelativeKingY::makeOldY | ( | bool | attack, | |
| const NumEffectState & | state, | |||
| Move | move | |||
| ) | [inline, static] |
rating/feature/position.h の 99 行で定義されています。
参照先 osl::alt(), osl::Move::from(), osl::Move::isDrop(), osl::Move::player(), osl::WHITE, と osl::Position::y().
| static int osl::rating::RelativeKingY::makeY | ( | bool | attack, | |
| const NumEffectState & | state, | |||
| Move | move | |||
| ) | [inline, static] |
rating/feature/position.h の 90 行で定義されています。
参照先 osl::alt(), osl::Move::player(), osl::Move::to(), osl::WHITE, と osl::Position::y().
| bool osl::rating::RelativeKingY::match | ( | const NumEffectState & | state, | |
| Move | move, | |||
| const RatingEnv & | ||||
| ) | const [inline, virtual] |
osl::rating::Featureを実装しています。
rating/feature/position.h の 109 行で定義されています。
参照先 attack, makeOldY(), makeY(), old_y, osl::Move::ptype(), ptype, と y.
| const std::string osl::rating::RelativeKingY::name | ( | int | y, | |
| int | old_y, | |||
| bool | , | |||
| Ptype | ptype | |||
| ) | [static] |
rating/feature/position.cc の 21 行で定義されています。
bool osl::rating::RelativeKingY::attack [private] |
rating/feature/position.h の 84 行で定義されています。
参照元 match().
int osl::rating::RelativeKingY::old_y [private] |
rating/feature/position.h の 82 行で定義されています。
Ptype osl::rating::RelativeKingY::ptype [private] |
rating/feature/position.h の 83 行で定義されています。
int osl::rating::RelativeKingY::y [private] |
rating/feature/position.h の 82 行で定義されています。
1.6.3