Public 型 | Public メソッド | Public 変数

構造体 osl::checkmate::ProofTreeDepthDfpn::Table

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

osl::checkmate::ProofTreeDepthDfpn::Tableのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

Public 型

typedef std::unordered_map
< HashKey, std::pair< int,
Move >, std::hash< HashKey > > 
map_t
typedef std::pair< const
HashKey, std::pair< int, Move > > 
entry_t
typedef std::forward_list
< const entry_t * > 
list_t
typedef std::unordered_map
< BoardKey, list_t, std::hash
< BoardKey > > 
index_t

Public メソッド

 Table (const DfpnTable &t)
void store (const HashKey &key, int depth, Move best_move=Move())
bool find (const HashKey &key, int &depth, Move &best_move) const
bool expectMoreDepth (Player attack, const HashKey &key, int depth) const
int maxDepth () const

Public 変数

boost::scoped_array
< NumEffectState
state
map_t depth_table
index_t depth_index
const DfpnTabletable

説明

深さを記憶するテーブル.

-1 は探索中

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


型定義

typedef std::pair<const HashKey, std::pair<int, Move> > osl::checkmate::ProofTreeDepthDfpn::Table::entry_t

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

typedef std::unordered_map<BoardKey, list_t, std::hash<BoardKey> > osl::checkmate::ProofTreeDepthDfpn::Table::index_t

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

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

typedef std::unordered_map<HashKey, std::pair<int, Move>, std::hash<HashKey> > osl::checkmate::ProofTreeDepthDfpn::Table::map_t

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


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

osl::checkmate::ProofTreeDepthDfpn::Table::Table ( const DfpnTable t  )  [inline]

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


関数

bool osl::checkmate::ProofTreeDepthDfpn::Table::expectMoreDepth ( Player  attack,
const HashKey &  key,
int  depth 
) const [inline]

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

参照先 osl::BLACK, と depth_index.

bool osl::checkmate::ProofTreeDepthDfpn::Table::find ( const HashKey &  key,
int &  depth,
Move best_move 
) const [inline]

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

参照先 depth_table.

int osl::checkmate::ProofTreeDepthDfpn::Table::maxDepth (  )  const [inline]

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

参照先 osl::checkmate::DfpnTable::maxDepth(), と table.

void osl::checkmate::ProofTreeDepthDfpn::Table::store ( const HashKey &  key,
int  depth,
Move  best_move = Move() 
) [inline]

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

参照先 depth_index, と depth_table.


変数

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

参照元 expectMoreDepth(), と store().

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

参照元 find(), と store().

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

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

参照元 maxDepth().


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