|
UCILoader 1.1.2
Small C++ library that allows user to connect to a chess engines via UCI protocol.
|
Position formatter for arbitrary FEN positions. More...
#include <StandardChess.h>
Public Member Functions | |
| FenPos (const std::string &fen) | |
| Constructor that stores the FEN string. | |
| std::string | toFen () const override |
| Get the FEN string. | |
| std::string | toPositionString () const override |
| Get the UCI position string. | |
| virtual std::string | toFen () const =0 |
| virtual std::string | toPositionString () const =0 |
Position formatter for arbitrary FEN positions.
Allows specifying any chess position via FEN notation. Implements the PositionFormatter interface for use with engine searches.
Usage:
|
inline |
Constructor that stores the FEN string.
| fen | The FEN notation string for the position |
|
inlineoverridevirtual |
Get the FEN string.
Implements UCILoader::PositionFormatter.
|
inlineoverridevirtual |
Get the UCI position string.
Implements UCILoader::PositionFormatter.