BoardKey + 駒台(piece stand). [詳細]
#include <boardKey.h>


Public 型 | |
| typedef BoardKeyBase | base_t |
| typedef BoardKeyBase::int_t | int_t |
Public メソッド | |
| GeneralHashKey () | |
| const base_t & | boardKey () const |
| unsigned int | signature () const |
| const PieceStand & | pieceStand () const |
| void | setPieceStand (const PieceStand &p) |
| size_t | size () const |
| int_t | operator[] (size_t i) const |
| int_t & | operator[] (size_t i) |
| bool | isSameBoard (const GeneralHashKey &key) const |
| 駒台の情報を除いて同じかどうか. | |
| GeneralHashKey & | operator+= (const GeneralHashKey &r) |
| GeneralHashKey & | operator-= (const GeneralHashKey &r) |
| const PieceStand | blackStand () const |
| void | changeTurn () |
| void | setPlayer (Player p) |
| bool | isPlayerOfTurn (Player p) const |
| Player | turn () const |
| void | setRandom () |
| pieceStandには触らない | |
Public 変数 | |
| BoardKeyBase | board_key |
| PieceStand | piece_stand |
BoardKey + 駒台(piece stand).
boardKey.h の 119 行で定義されています。
| typedef BoardKeyBase osl::hash::GeneralHashKey< BoardKeyBase >::base_t |
boardKey.h の 121 行で定義されています。
| typedef BoardKeyBase::int_t osl::hash::GeneralHashKey< BoardKeyBase >::int_t |
boardKey.h の 125 行で定義されています。
| osl::hash::GeneralHashKey< BoardKeyBase >::GeneralHashKey | ( | ) | [inline] |
boardKey.h の 127 行で定義されています。
| const PieceStand osl::hash::GeneralHashKey< BoardKeyBase >::blackStand | ( | ) | const [inline] |
boardKey.h の 172 行で定義されています。
| const base_t& osl::hash::GeneralHashKey< BoardKeyBase >::boardKey | ( | ) | const [inline] |
| void osl::hash::GeneralHashKey< BoardKeyBase >::changeTurn | ( | ) | [inline] |
| bool osl::hash::GeneralHashKey< BoardKeyBase >::isPlayerOfTurn | ( | Player | p | ) | const [inline] |
| bool osl::hash::GeneralHashKey< BoardKeyBase >::isSameBoard | ( | const GeneralHashKey< BoardKeyBase > & | key | ) | const [inline] |
駒台の情報を除いて同じかどうか.
手番が異なるものは異なると定義する
boardKey.h の 156 行で定義されています。
参照先 osl::hash::GeneralHashKey< BoardKeyBase >::board_key, と osl::hash::GeneralHashKey< BoardKeyBase >::boardKey().
| GeneralHashKey& osl::hash::GeneralHashKey< BoardKeyBase >::operator+= | ( | const GeneralHashKey< BoardKeyBase > & | r | ) | [inline] |
| GeneralHashKey& osl::hash::GeneralHashKey< BoardKeyBase >::operator-= | ( | const GeneralHashKey< BoardKeyBase > & | r | ) | [inline] |
| int_t& osl::hash::GeneralHashKey< BoardKeyBase >::operator[] | ( | size_t | i | ) | [inline] |
boardKey.h の 149 行で定義されています。
| int_t osl::hash::GeneralHashKey< BoardKeyBase >::operator[] | ( | size_t | i | ) | const [inline] |
boardKey.h の 146 行で定義されています。
| const PieceStand& osl::hash::GeneralHashKey< BoardKeyBase >::pieceStand | ( | ) | const [inline] |
boardKey.h の 137 行で定義されています。
参照先 osl::hash::GeneralHashKey< BoardKeyBase >::piece_stand.
参照元 osl::hash::HashKey::dumpContents(), と osl::hash::operator<<().
| void osl::hash::GeneralHashKey< BoardKeyBase >::setPieceStand | ( | const PieceStand & | p | ) | [inline] |
boardKey.h の 140 行で定義されています。
| void osl::hash::GeneralHashKey< BoardKeyBase >::setPlayer | ( | Player | p | ) | [inline] |
boardKey.h の 180 行で定義されています。
| void osl::hash::GeneralHashKey< SignatureBoardKeyBase >::setRandom | ( | ) | [inline] |
pieceStandには触らない
boardKey.tcc の 24 行で定義されています。
| unsigned int osl::hash::GeneralHashKey< BoardKeyBase >::signature | ( | ) | const [inline] |
| size_t osl::hash::GeneralHashKey< BoardKeyBase >::size | ( | ) | const [inline] |
| Player osl::hash::GeneralHashKey< BoardKeyBase >::turn | ( | ) | const [inline] |
boardKey.h の 188 行で定義されています。
参照先 osl::BLACK, osl::hash::GeneralHashKey< BoardKeyBase >::isPlayerOfTurn(), と osl::WHITE.
| BoardKeyBase osl::hash::GeneralHashKey< BoardKeyBase >::board_key |
boardKey.h の 122 行で定義されています。
参照元 osl::hash::GeneralHashKey< BoardKeyBase >::boardKey(), osl::hash::GeneralHashKey< BoardKeyBase >::changeTurn(), osl::hash::GeneralHashKey< BoardKeyBase >::isPlayerOfTurn(), osl::hash::GeneralHashKey< BoardKeyBase >::isSameBoard(), osl::hash::GeneralHashKey< BoardKeyBase >::operator+=(), osl::hash::GeneralHashKey< BoardKeyBase >::operator-=(), osl::hash::operator==(), osl::hash::GeneralHashKey< BoardKeyBase >::operator[](), osl::hash::GeneralHashKey< BoardKeyBase >::setPlayer(), osl::hash::GeneralHashKey< BoardKeyBase >::setRandom(), osl::hash::GeneralHashKey< BoardKeyBase >::signature(), と osl::hash::GeneralHashKey< BoardKeyBase >::size().
| PieceStand osl::hash::GeneralHashKey< BoardKeyBase >::piece_stand |
boardKey.h の 123 行で定義されています。
参照元 osl::hash::GeneralHashKey< BoardKeyBase >::blackStand(), osl::hash::GeneralHashKey< BoardKeyBase >::operator+=(), osl::hash::GeneralHashKey< BoardKeyBase >::operator-=(), osl::hash::operator==(), osl::hash::GeneralHashKey< BoardKeyBase >::pieceStand(), osl::hash::HashKey::readFromDump(), と osl::hash::GeneralHashKey< BoardKeyBase >::setPieceStand().
1.6.3