Code: Select all
int *pvStart = pvPtr; // start of own PV
*pvStart = 0; // initialize empty PV at the top of the PV stack
I use pvTable[64][64] array to store pv and it seems to work fine, but
there also has to be tracked pv_length[64], I just wonder how does
H.G.Muller's method work without knowing the length.
To be honest I've stalled tscp's implementation because the chess programming wiki's
triangular pv pseudo code implementation was a bit complicated to understand
-----------------------------------------------------------------------------------
Maksim Korzh
Chenglite
https://github.com/maksimKorzh/Chenglite