クラス osl::checkmate::ProofTreeDepthDfpn

詰までの手数を数える. [詳細]

#include <proofTreeDepthDfpn.h>

すべてのメンバ一覧

構成

struct  Table
 深さを記憶するテーブル. [詳細]

Public メソッド

 ProofTreeDepthDfpn (const DfpnTable &table)
 ~ProofTreeDepthDfpn ()
int depth (const HashKey &key, const state::NumEffectState &state, bool is_or_node) const
void retrievePV (const state::NumEffectState &state, bool is_or_node, vector< Move > &pv) const

Private メソッド

int orNode (const HashKey &key, Move &best_move, int height=0) const
int andNode (const HashKey &key, Move &best_move, int height=0) const

Private 変数

boost::scoped_ptr< Tabletable

説明

詰までの手数を数える.

詰将棋ルーチン次第で,無駄合なども含まれるため 人間の感覚と一致するとは限らない.

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


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

osl::checkmate::ProofTreeDepthDfpn::ProofTreeDepthDfpn ( const DfpnTable table  )  [explicit]

proofTreeDepthDfpn.cc76 行で定義されています。

osl::checkmate::ProofTreeDepthDfpn::~ProofTreeDepthDfpn (  ) 

proofTreeDepthDfpn.cc82 行で定義されています。


関数

int osl::checkmate::ProofTreeDepthDfpn::andNode ( const HashKey &  key,
Move best_move,
int  height = 0 
) const [private]

proofTreeDepthDfpn.cc180 行で定義されています。

参照先 osl::alt(), osl::BLACK, depth(), osl::checkmate::Dfpn::MaxDepth, moves, orNode(), result, table, と osl::WHITE.

参照元 orNode().

int osl::checkmate::ProofTreeDepthDfpn::depth ( const HashKey &  key,
const state::NumEffectState state,
bool  is_or_node 
) const

参照元 andNode(), と orNode().

int osl::checkmate::ProofTreeDepthDfpn::orNode ( const HashKey &  key,
Move best_move,
int  height = 0 
) const [private]
void osl::checkmate::ProofTreeDepthDfpn::retrievePV ( const state::NumEffectState state,
bool  is_or_node,
vector< Move > &  pv 
) const

変数

boost::scoped_ptr<Table> osl::checkmate::ProofTreeDepthDfpn::table [private]

proofTreeDepthDfpn.h26 行で定義されています。

参照元 andNode(), と orNode().


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