|
My Project
|
SimpleStateよりcompactな局面の表現 More...
#include <compactBoard.h>
Public Member Functions | |
| CompactBoard () | |
| CompactBoard (const SimpleState &state) | |
| SimpleState | state () const |
| const std::vector< OPiece > & | pieces () const |
| Player | turn () const |
Private Attributes | |
| std::vector< OPiece > | piece_vector |
| Player | player_to_move |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const CompactBoard &c) |
| std::istream & | operator>> (std::istream &os, CompactBoard &c) |
| bool | operator== (const CompactBoard &, const CompactBoard &) |
| 局面を比較する. | |
SimpleStateよりcompactな局面の表現
Definition at line 59 of file compactBoard.h.
|
inline |
Definition at line 62 of file compactBoard.h.
|
explicit |
Definition at line 44 of file compactBoard.cc.
|
inline |
Definition at line 65 of file compactBoard.h.
Definition at line 57 of file compactBoard.cc.
|
inline |
Definition at line 66 of file compactBoard.h.
|
friend |
|
friend |
局面を比較する.
将棋としての局面(手番や持ち駒を含む)を比較する. NumEffectState等と異なり駒番号は考慮されない.
|
friend |
|
private |
Definition at line 72 of file compactBoard.h.
Definition at line 73 of file compactBoard.h.