chess:programming:polyglot_book_format
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
chess:programming:polyglot_book_format [2022/01/10 17:10] – peter | chess:programming:polyglot_book_format [2022/01/11 14:16] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Chess - Programming - Polyglot Book Format - Polyglot Book Format ====== | ====== Chess - Programming - Polyglot Book Format - Polyglot Book Format ====== | ||
- | A **PolyGlot** opening book is a collection of triples (Position, Move, Weight). | + | A **PolyGlot** opening book is a collection of triples (Key, Move, Weight). |
- | * **Position** is represented by a 64-bit Zobrist hash key, of a Board position. | + | * **Key** is a 64-bit Zobrist hash key, of a Board position. |
* **Move** is a move that can be made from that position. | * **Move** is a move that can be made from that position. | ||
* **Weight** is proportional to the probability the move should be played. | * **Weight** is proportional to the probability the move should be played. | ||
Line 9: | Line 9: | ||
---- | ---- | ||
- | <code cpp> | + | [[Chess: |
- | struct entry_t { | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | }; | + | |
- | </ | + | |
- | ---- | + | [[Chess: |
+ | |||
+ | [[Chess: | ||
+ | |||
+ | [[Chess: | ||
+ | |||
+ | [[Chess: | ||
[[Chess: | [[Chess: | ||
Line 27: | Line 25: | ||
[[Chess: | [[Chess: | ||
- | [[Chess: | + | [[Chess: |
+ | |||
+ | [[Chess: | ||
[[Chess: | [[Chess: |
chess/programming/polyglot_book_format.1641834648.txt.gz · Last modified: 2022/01/10 17:10 by peter