深さを記憶するテーブル. [詳細]
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 DfpnTable & | table |
深さを記憶するテーブル.
-1 は探索中
proofTreeDepthDfpn.cc の 14 行で定義されています。
typedef std::pair<const HashKey, std::pair<int, Move> > osl::checkmate::ProofTreeDepthDfpn::Table::entry_t |
proofTreeDepthDfpn.cc の 18 行で定義されています。
typedef std::unordered_map<BoardKey, list_t, std::hash<BoardKey> > osl::checkmate::ProofTreeDepthDfpn::Table::index_t |
proofTreeDepthDfpn.cc の 20 行で定義されています。
typedef std::forward_list<const entry_t*> osl::checkmate::ProofTreeDepthDfpn::Table::list_t |
proofTreeDepthDfpn.cc の 19 行で定義されています。
typedef std::unordered_map<HashKey, std::pair<int, Move>, std::hash<HashKey> > osl::checkmate::ProofTreeDepthDfpn::Table::map_t |
proofTreeDepthDfpn.cc の 17 行で定義されています。
osl::checkmate::ProofTreeDepthDfpn::Table::Table | ( | const DfpnTable & | t | ) | [inline] |
proofTreeDepthDfpn.cc の 24 行で定義されています。
bool osl::checkmate::ProofTreeDepthDfpn::Table::expectMoreDepth | ( | Player | attack, | |
const HashKey & | key, | |||
int | depth | |||
) | const [inline] |
proofTreeDepthDfpn.cc の 42 行で定義されています。
参照先 osl::BLACK, と depth_index.
bool osl::checkmate::ProofTreeDepthDfpn::Table::find | ( | const HashKey & | key, | |
int & | depth, | |||
Move & | best_move | |||
) | const [inline] |
proofTreeDepthDfpn.cc の 33 行で定義されています。
参照先 depth_table.
int osl::checkmate::ProofTreeDepthDfpn::Table::maxDepth | ( | ) | const [inline] |
proofTreeDepthDfpn.cc の 70 行で定義されています。
void osl::checkmate::ProofTreeDepthDfpn::Table::store | ( | const HashKey & | key, | |
int | depth, | |||
Move | best_move = Move() | |||
) | [inline] |
proofTreeDepthDfpn.cc の 27 行で定義されています。
参照先 depth_index, と depth_table.
proofTreeDepthDfpn.cc の 22 行で定義されています。
参照元 expectMoreDepth(), と store().
proofTreeDepthDfpn.cc の 21 行で定義されています。
boost::scoped_array<NumEffectState> osl::checkmate::ProofTreeDepthDfpn::Table::state |
proofTreeDepthDfpn.cc の 16 行で定義されています。
proofTreeDepthDfpn.cc の 23 行で定義されています。
参照元 maxDepth().