|
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.
Referenced by operator<<, operator==, and operator>>.
|
explicit |
Definition at line 44 of file compactBoard.cc.
References piece_vector, player_to_move, and state().
|
inline |
Definition at line 65 of file compactBoard.h.
References piece_vector.
Referenced by osl::book::operator<<(), and osl::book::operator==().
| osl::SimpleState osl::book::CompactBoard::state | ( | ) | const |
Definition at line 57 of file compactBoard.cc.
References piece_vector, state(), and turn().
Referenced by CompactBoard(), and state().
|
inline |
Definition at line 66 of file compactBoard.h.
References player_to_move.
Referenced by osl::book::operator<<(), osl::book::operator==(), state(), and osl::book::WeightedBook::stateIndex().
|
friend |
References CompactBoard().
|
friend |
|
friend |
References CompactBoard().
|
private |
Definition at line 72 of file compactBoard.h.
Referenced by CompactBoard(), osl::book::operator>>(), pieces(), and state().
|
private |
Definition at line 73 of file compactBoard.h.
Referenced by CompactBoard(), osl::book::operator>>(), and turn().