#include <bigramAttack.h>


Public メソッド | |
| BigramAttack (int x1, int y1, int x2, int y2, int king_index, bool s, bool f) | |
| bool | match (const NumEffectState &state, Move move, const RatingEnv &env) const |
Static Public メソッド | |
| static const std::string | name (int x1, int y1, int x2, int y2, int king_index, bool s, bool f) |
| static int | indexKing (Player attack, Position king, bool focus_x) |
| static int | indexOfMove (Position king, Move move) |
| static int | index (const NumEffectState &state, Move move, const RatingEnv &env, bool same, bool focus_x) |
Private 変数 | |
| int | property |
| bool | same |
| bool | focus_x |
bigramAttack.h の 12 行で定義されています。
| osl::rating::BigramAttack::BigramAttack | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| int | king_index, | |||
| bool | s, | |||
| bool | f | |||
| ) | [inline] |
bigramAttack.h の 18 行で定義されています。
| static int osl::rating::BigramAttack::index | ( | const NumEffectState & | state, | |
| Move | move, | |||
| const RatingEnv & | env, | |||
| bool | same, | |||
| bool | focus_x | |||
| ) | [inline, static] |
bigramAttack.h の 50 行で定義されています。
参照先 osl::alt(), osl::rating::RatingEnv::history, indexKing(), indexOfMove(), osl::Move::isNormal(), と osl::Move::player().
| static int osl::rating::BigramAttack::indexKing | ( | Player | attack, | |
| Position | king, | |||
| bool | focus_x | |||
| ) | [inline, static] |
bigramAttack.h の 23 行で定義されています。
参照先 osl::WHITE, osl::Position::x(), と osl::Position::y().
参照元 index().
bigramAttack.h の 34 行で定義されています。
参照先 osl::Move::player(), osl::Move::to(), osl::WHITE, osl::Position::x(), と osl::Position::y().
参照元 index().
| bool osl::rating::BigramAttack::match | ( | const NumEffectState & | state, | |
| Move | move, | |||
| const RatingEnv & | env | |||
| ) | const [inline, virtual] |
osl::rating::Featureを実装しています。
bigramAttack.h の 66 行で定義されています。
| const std::string osl::rating::BigramAttack::name | ( | int | x1, | |
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| int | king_index, | |||
| bool | s, | |||
| bool | f | |||
| ) | [static] |
bigramAttack.cc の 7 行で定義されています。
bool osl::rating::BigramAttack::focus_x [private] |
bigramAttack.h の 15 行で定義されています。
参照元 match().
int osl::rating::BigramAttack::property [private] |
bigramAttack.h の 14 行で定義されています。
参照元 match().
bool osl::rating::BigramAttack::same [private] |
bigramAttack.h の 15 行で定義されています。
参照元 match().
1.6.3