59void wthor_eval(
const char*,
struct Search*,
unsigned long long histogram[129][65]);
62#define foreach_wthorgame(wgame, wbase) \
63 for ((wgame) = (wbase)->game ; (wgame) < (wbase)->game + (wbase)->header->n_games; ++(wgame))
void base_to_FEN(Base *, const int, const char *)
Convert a game database to a set of problems.
Definition: base.c:867
bool wthor_save(WthorBase *, const char *)
Save a wthor base.
Definition: base.c:387
void base_save(const Base *, const char *)
Save a game database.
Definition: base.c:788
void base_unique(Base *)
Make games unique in the game database.
Definition: base.c:720
bool base_load(Base *, const char *)
Load a game database.
Definition: base.c:740
void wthor_test(const char *, struct Search *)
Test Search with a wthor base.
Definition: base.c:516
void base_complete(Base *, struct Search *)
Base analysis.
Definition: base.c:919
bool wthor_load(WthorBase *, const char *)
Load a wthor base.
Definition: base.c:332
void base_free(Base *)
Free resources of a game database.
Definition: base.c:684
void base_init(Base *)
Initialize a game database.
Definition: base.c:672
void wthor_eval(const char *, struct Search *, unsigned long long histogram[129][65])
Test Eval with a wthor base.
Definition: base.c:611
void base_to_problem(Base *, const int, const char *)
Convert a game database to a set of problems.
Definition: base.c:841
void base_append(Base *, const Game *)
Add a game to a game database.
Definition: base.c:696
void wthor_init(WthorBase *)
Initialize a Wthor base.
Definition: base.c:316
void wthor_edaxify(const char *)
Change players to "Edax (delorme)" and tourney to "Etudes" in a wthor base.
Definition: base.c:651
void base_analyze(Base *, struct Search *, const int, const bool)
Base analysis.
Definition: base.c:893
void base_compare(const char *, const char *)
Base Compare.
Definition: base.c:943
Game * game
Definition: base.h:49
int n_games
Definition: base.h:50
int size
Definition: base.h:51
int n_players
Definition: base.h:43
WthorHeader header[1]
Definition: base.h:39
WthorGame * game
Definition: base.h:44
char(* tournament)[26]
Definition: base.h:40
int n_tournaments
Definition: base.h:41
int n_games
Definition: base.h:45
char(* player)[20]
Definition: base.h:42