クラス osl::progress::ml::NewProgress

#include <newProgress.h>

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

すべてのメンバ一覧

Public 型

enum  { ProgressScale = 2 }

Public メソッド

 NewProgress (const NumEffectState &state)
int progress () const
template<Player P>
void updateSub (const NumEffectState &new_state, Move last_move)
void update (const NumEffectState &new_state, Move last_move)
const Progress16 progress16 () const
const Progress16 progress16 (Player p) const
const Progress16 progressAttack (Player p) const
const Progress16 progressDefense (Player p) const
const NewProgressData rawData () const

Static Public メソッド

static int maxProgress ()
static bool initialized ()
static bool setUp (const char *filename)
static bool setUp ()

Private メソッド

void updatePieceKingRelativeBonus (const NumEffectState &state)
void updateNonPawnAttackedPtypePair (const NumEffectState &state)
template<Player Owner>
void updateNonPawnAttackedPtypePairOne (const NumEffectState &state)
template<Player P>
void updateAttack5x5PiecesAndState (const NumEffectState &state)
template<Player P>
void updateAttack5x5Pieces (PieceMask, const NumEffectState &)
template<Player P>
int attack5x5Value (const NumEffectState &state) const
template<Player P>
void updateMain (const NumEffectState &new_state, Move last_move)

Static Private メソッド

template<Player P>
static void progressOne (const NumEffectState &state, int &attack, int &defense)
template<Player P>
static int index (Position king, Position target)
template<Player P>
static int indexX (Position king, Position target)
template<Player P>
static int indexY (Position king, Position target)
static int index5x5 (int rook, int bishop, int gold, int silver, int promoted)
static int index5x5x (int rook, int bishop, int gold, int silver, int promoted, int king_x)
static int index5x5y (int rook, int bishop, int gold, int silver, int promoted, int king_y)
template<Player P>
static int indexPerEffect (Position king, Position target, int count)
template<Player P>
static int indexPerEffectY (Position king, Position target, int count)
template<Player P>
static int indexPerEffectX (Position king, Position target, int count)
template<Player P>
static int indexRelative (const Position king, const Ptype ptype, const Position pos)
static int indexRelative (const Player player, const Position king, const Piece piece)

Static Private 変数

static bool initialized_flag
static CArray< int, Piece::SIZEstand_weight
static CArray< int, 1125 > attack5x5_weight
static CArray< int, 5625 > attack5x5_x_weight
static CArray< int, 10125 > attack5x5_y_weight
static CArray< int, 75 > effectstate_weight
static CArray< int, 81 *15 *10 > attack_relative
static CArray< int, 81 *15 *10 > defense_relative
static CArray< int, 4284 > king_relative_weight
static CArray< int, 262144 > attacked_ptype_pair_weight
static int max_progress

説明

newProgress.h24 行で定義されています。


列挙型

anonymous enum
列挙型の値:
ProgressScale 

newProgress.h27 行で定義されています。


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

osl::progress::ml::NewProgress::NewProgress ( const NumEffectState &  state  ) 

関数

template<osl::Player P>
int osl::progress::ml::NewProgress::attack5x5Value ( const NumEffectState &  state  )  const [inline, private]
template<Player P>
static int osl::progress::ml::NewProgress::index ( Position  king,
Position  target 
) [inline, static, private]

newProgress.h54 行で定義されています。

参照先 osl::BLACK, osl::Position::x(), と osl::Position::y().

参照元 updateAttack5x5PiecesAndState().

static int osl::progress::ml::NewProgress::index5x5 ( int  rook,
int  bishop,
int  gold,
int  silver,
int  promoted 
) [inline, static, private]

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

static int osl::progress::ml::NewProgress::index5x5x ( int  rook,
int  bishop,
int  gold,
int  silver,
int  promoted,
int  king_x 
) [inline, static, private]

newProgress.h93 行で定義されています。

参照元 attack5x5Value().

static int osl::progress::ml::NewProgress::index5x5y ( int  rook,
int  bishop,
int  gold,
int  silver,
int  promoted,
int  king_y 
) [inline, static, private]

newProgress.h100 行で定義されています。

参照元 attack5x5Value().

template<Player P>
static int osl::progress::ml::NewProgress::indexPerEffect ( Position  king,
Position  target,
int  count 
) [inline, static, private]

newProgress.h108 行で定義されています。

参照先 osl::BLACK, osl::eval::min(), osl::Position::x(), と osl::Position::y().

template<Player P>
static int osl::progress::ml::NewProgress::indexPerEffectX ( Position  king,
Position  target,
int  count 
) [inline, static, private]

newProgress.h128 行で定義されています。

参照先 osl::BLACK, osl::eval::min(), osl::WHITE, osl::Position::x(), と osl::Position::y().

template<Player P>
static int osl::progress::ml::NewProgress::indexPerEffectY ( Position  king,
Position  target,
int  count 
) [inline, static, private]

newProgress.h118 行で定義されています。

参照先 osl::BLACK, osl::eval::min(), osl::Position::x(), と osl::Position::y().

static int osl::progress::ml::NewProgress::indexRelative ( const Player  player,
const Position  king,
const Piece  piece 
) [inline, static, private]

newProgress.h150 行で定義されています。

参照先 osl::BLACK, osl::Piece::position(), と osl::Piece::ptype().

template<Player P>
static int osl::progress::ml::NewProgress::indexRelative ( const Position  king,
const Ptype  ptype,
const Position  pos 
) [inline, static, private]

newProgress.h142 行で定義されています。

参照先 osl::BLACK, osl::PTYPE_PIECE_MIN, osl::Position::x(), と osl::Position::y().

参照元 updatePieceKingRelativeBonus().

template<Player P>
static int osl::progress::ml::NewProgress::indexX ( Position  king,
Position  target 
) [inline, static, private]

newProgress.h62 行で定義されています。

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

template<Player P>
static int osl::progress::ml::NewProgress::indexY ( Position  king,
Position  target 
) [inline, static, private]

newProgress.h79 行で定義されています。

参照先 osl::BLACK, osl::Position::x(), と osl::Position::y().

static bool osl::progress::ml::NewProgress::initialized (  )  [inline, static]

newProgress.h243 行で定義されています。

参照先 initialized_flag.

static int osl::progress::ml::NewProgress::maxProgress (  )  [inline, static]
int osl::progress::ml::NewProgress::progress (  )  const [inline]
const Progress16 osl::progress::ml::NewProgress::progress16 ( Player  p  )  const [inline]
const Progress16 osl::progress::ml::NewProgress::progress16 (  )  const [inline]
const Progress16 osl::progress::ml::NewProgress::progressAttack ( Player  p  )  const [inline]
const Progress16 osl::progress::ml::NewProgress::progressDefense ( Player  p  )  const [inline]
template<osl::Player P>
void osl::progress::ml::NewProgress::progressOne ( const NumEffectState &  state,
int &  attack,
int &  defense 
) [inline, static, private]
const NewProgressData osl::progress::ml::NewProgress::rawData (  )  const [inline]

newProgress.h249 行で定義されています。

参照元 osl::eval::ml::OpenMidEndingEval::updateSub().

bool osl::progress::ml::NewProgress::setUp (  )  [static]

newProgress.cc234 行で定義されています。

参照先 osl::OslConfig::home().

参照元 osl::annotate::analyze().

bool osl::progress::ml::NewProgress::setUp ( const char *  filename  )  [static]
void osl::progress::ml::NewProgress::update ( const NumEffectState &  new_state,
Move  last_move 
) [inline]

newProgress.h186 行で定義されています。

参照先 osl::BLACK.

参照元 osl::eval::ml::OpenMidEndingEval::updateSub().

template<osl::Player P>
void osl::progress::ml::NewProgress::updateAttack5x5Pieces ( PieceMask  mask,
const NumEffectState &  state 
) [inline, private]
template<osl::Player P>
void osl::progress::ml::NewProgress::updateAttack5x5PiecesAndState ( const NumEffectState &  state  )  [inline, private]
template<osl::Player P>
void osl::progress::ml::NewProgress::updateMain ( const NumEffectState &  new_state,
Move  last_move 
) [inline, private]
void osl::progress::ml::NewProgress::updateNonPawnAttackedPtypePair ( const NumEffectState &  state  )  [private]

newProgress.cc415 行で定義されています。

参照元 NewProgress(), と updateMain().

template<osl::Player Owner>
void osl::progress::ml::NewProgress::updateNonPawnAttackedPtypePairOne ( const NumEffectState &  state  )  [inline, private]
void osl::progress::ml::NewProgress::updatePieceKingRelativeBonus ( const NumEffectState &  state  )  [private]
template<osl::Player P>
void osl::progress::ml::NewProgress::updateSub ( const NumEffectState &  new_state,
Move  last_move 
) [inline]

変数

newProgress.h31 行で定義されています。

参照元 setUp().

newProgress.h32 行で定義されています。

参照元 attack5x5Value(), と setUp().

newProgress.h33 行で定義されています。

参照元 attack5x5Value(), と setUp().

newProgress.h35 行で定義されています。

参照元 progressOne(), と setUp().

osl::CArray< int, 262144 > osl::progress::ml::NewProgress::attacked_ptype_pair_weight [static, private]

newProgress.h38 行で定義されています。

参照元 setUp(), と updateNonPawnAttackedPtypePairOne().

newProgress.h36 行で定義されています。

参照元 progressOne(), と setUp().

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

参照元 setUp(), と updateAttack5x5PiecesAndState().

newProgress.h29 行で定義されています。

参照元 initialized(), NewProgress(), と setUp().

newProgress.h37 行で定義されています。

参照元 setUp(), updateMain(), と updatePieceKingRelativeBonus().

newProgress.h39 行で定義されています。

参照元 maxProgress(), progress(), progress16(), progressAttack(), progressDefense(), と setUp().

newProgress.h30 行で定義されています。

参照元 NewProgress(), setUp(), と updateMain().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:58:34 2010に生成されました。  doxygen 1.6.3