Chess 0.0.1
A library written in c
Loading...
Searching...
No Matches
ChessPositionCounter Struct Reference

Hash table for counting chess positions. More...

#include <position_counter.h>

Data Fields

ChessPositionCounterEntryentries
 
size_t size
 
size_t count
 

Detailed Description

Hash table for counting chess positions.

Used to track the number of times each position has occurred, typically for threefold repetition detection.

Field Documentation

◆ count

size_t ChessPositionCounter::count

The number of entries in use.

◆ entries

ChessPositionCounterEntry* ChessPositionCounter::entries

Array of entries.

◆ size

size_t ChessPositionCounter::size

The allocated size of the table.


The documentation for this struct was generated from the following file: