- void from_fen(const std::string& fen);
- const std::string to_fen() const;
- void print(Move m = MOVE_NONE) const;
-
- // Copying
- void fast_copy(const Position& pos);
- void flipped_copy(const Position& pos);
-
- // The piece on a given square
- Piece piece_on(Square s) const;
- PieceType type_of_piece_on(Square s) const;
- Color color_of_piece_on(Square s) const;
- bool square_is_empty(Square s) const;
- bool square_is_occupied(Square s) const;
- Value midgame_value_of_piece_on(Square s) const;
- Value endgame_value_of_piece_on(Square s) const;
-
- // Side to move
- Color side_to_move() const;
+ void set(const std::string& fen, bool isChess960, Thread* th);
+ const std::string fen() const;
+ const std::string pretty(Move m = MOVE_NONE) const;