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

クラス osl::rating::RelativeKingY

#include <square.h>

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

すべてのメンバ一覧

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

説明

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


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

osl::rating::RelativeKingY::RelativeKingY ( int  iy,
int  ioy,
bool  a,
Ptype  p 
) [inline]

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


関数

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

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

参照先 makeOldY(), makeY(), old_y, osl::Move::ptype(), ptype, osl::PTYPE_MAX, と y.

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

static int osl::rating::RelativeKingY::makeOldY ( bool  attack,
const NumEffectState state,
Move  move 
) [inline, static]
static int osl::rating::RelativeKingY::makeY ( bool  attack,
const NumEffectState state,
Move  move 
) [inline, static]

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

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

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

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

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

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

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

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

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


変数

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

参照元 match().

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

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

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

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

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

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


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