stellar

Stellar - Chess engine written in C
Log | Files | Refs

stats.h (374B)


      1 #ifndef STELLAR_STATS_H
      2 #define STELLAR_STATS_H
      3 
      4 #include "moves.h"
      5 #include "utils.h"
      6 
      7 #define MAX_PLY 64
      8 
      9 typedef struct Stats Stats;
     10 struct Stats {
     11     Move pv_table[MAX_PLY][MAX_PLY];
     12     Move killer[2][MAX_PLY];
     13     U32 history[16][64];
     14     int pv_length[MAX_PLY];
     15     struct TTable *ttable;
     16     Board *board;
     17     int follow_pv;
     18     long nodes;
     19     int ply;
     20 };
     21 
     22 #endif