chess:programming:polyglot_book_format:file_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:file_format [2022/01/11 13:32] – peter | chess:programming:polyglot_book_format:file_format [2022/01/11 14:14] (current) – peter | ||
---|---|---|---|
Line 7: | Line 7: | ||
<code cpp> | <code cpp> | ||
struct entry_t { | struct entry_t { | ||
- | uint64 | + | uint64_t |
- | uint16 | + | uint16_t |
- | uint16 count; | + | uint16_t weight; |
- | uint32 | + | uint32_t |
}; | }; | ||
</ | </ | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
+ | |||
+ | * The entries are ordered according to key; Lowest key first. | ||
+ | |||
+ | |||
+ | Sometimes | ||
<code cpp> | <code cpp> | ||
struct entry_t { | struct entry_t { | ||
- | uint64 | + | uint64_t |
- | uint16 | + | uint16_t |
- | uint16 | + | uint16_t |
- | uint16 | + | uint16_t |
- | uint16 | + | uint16_t |
}; | }; | ||
</ | </ | ||
+ | |||
+ | * This still represents the same data. | ||
</ | </ | ||
chess/programming/polyglot_book_format/file_format.1641907944.txt.gz · Last modified: 2022/01/11 13:32 by peter