io-chess
UCI chess engine
Loading...
Searching...
No Matches
polyglot_book.cpp File Reference

Polyglot opening book reader. More...

#include "polyglot_book.hpp"
#include "polyglot_keys.hpp"
#include <algorithm>
#include <bit>
#include <fstream>
#include <iostream>
#include <random>
Include dependency graph for polyglot_book.cpp:

Functions

uint64_t bswap_64 (uint64_t val)
uint16_t bswap_16 (uint16_t val)

Detailed Description

Polyglot opening book reader.

Provides functionality to open, parse, and query binary Polyglot (.bin) opening books to find pre-computed moves for the opening phase of the game.

Function Documentation

◆ bswap_16()

uint16_t bswap_16 ( uint16_t val)
Here is the caller graph for this function:

◆ bswap_64()

uint64_t bswap_64 ( uint64_t val)
Here is the caller graph for this function: