Public メソッド | Static Public メソッド | Private 変数

クラス osl::rating::BigramAttack

#include <bigramAttack.h>

osl::rating::BigramAttackに対する継承グラフ
Inheritance graph
[凡例]
osl::rating::BigramAttackのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

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, Square king, bool focus_x)
static int indexOfMove (Square 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.h12 行で定義されています。


コンストラクタとデストラクタ

osl::rating::BigramAttack::BigramAttack ( int  x1,
int  y1,
int  x2,
int  y2,
int  king_index,
bool  s,
bool  f 
) [inline]

bigramAttack.h18 行で定義されています。


関数

static int osl::rating::BigramAttack::index ( const NumEffectState state,
Move  move,
const RatingEnv env,
bool  same,
bool  focus_x 
) [inline, static]
static int osl::rating::BigramAttack::indexKing ( Player  attack,
Square  king,
bool  focus_x 
) [inline, static]

bigramAttack.h23 行で定義されています。

参照先 osl::WHITE, osl::Square::x(), と osl::Square::y().

参照元 index().

static int osl::rating::BigramAttack::indexOfMove ( Square  king,
Move  move 
) [inline, static]

bigramAttack.h34 行で定義されています。

参照先 osl::Move::player(), osl::Move::to(), osl::Square::x(), と osl::Square::y().

参照元 index().

bool osl::rating::BigramAttack::match ( const NumEffectState state,
Move  move,
const RatingEnv env 
) const [inline, virtual]

osl::rating::Featureを実装しています。

bigramAttack.h66 行で定義されています。

参照先 focus_x, index(), property, と same.

const std::string osl::rating::BigramAttack::name ( int  x1,
int  y1,
int  x2,
int  y2,
int  king_index,
bool  s,
bool  f 
) [static]

bigramAttack.cc7 行で定義されています。


変数

bigramAttack.h15 行で定義されています。

参照元 match().

bigramAttack.h14 行で定義されています。

参照元 match().

bigramAttack.h15 行で定義されています。

参照元 match().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義