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

クラス osl::rating::RelativeKingX

#include <square.h>

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

すべてのメンバ一覧

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

説明

square.h43 行で定義されています。


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

osl::rating::RelativeKingX::RelativeKingX ( int  ix,
int  iox,
bool  a,
Ptype  p 
) [inline]

square.h50 行で定義されています。


関数

static int osl::rating::RelativeKingX::index ( bool  attack,
const NumEffectState state,
Move  move 
) [inline, static]

square.h72 行で定義されています。

参照先 makeOldX(), makeX(), old_x, osl::Move::ptype(), ptype, osl::PTYPE_MAX, と x.

参照元 osl::rating::RelativeKingXGroup::findMatch().

static int osl::rating::RelativeKingX::makeOldX ( bool  attack,
const NumEffectState state,
Move  move 
) [inline, static]
static int osl::rating::RelativeKingX::makeX ( bool  attack,
const NumEffectState state,
Move  move 
) [inline, static]

square.h53 行で定義されています。

参照先 osl::alt(), osl::SimpleState::kingSquare(), osl::Move::player(), osl::Move::to(), と osl::Square::x().

参照元 index(), と match().

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

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

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

参照先 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]

square.cc8 行で定義されています。

参照先 osl::PtypeTable::getCsaName(), と osl::Ptype_Table.


変数

square.h47 行で定義されています。

参照元 match().

square.h45 行で定義されています。

参照元 index(), と match().

square.h46 行で定義されています。

参照元 index(), と match().

square.h45 行で定義されています。

参照元 index(), と match().


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