Author: Uri Blass
Date: 10:46:45 01/13/03
I decided to change my printpv to print information better
This is my new printpv
I added pv_length= because there was a case when movei printed information with
no pv and I wanted to see what was the problem.
For some reason winboard has no problem to print pv at small depth but at big
depth it can print only the first move.
void printpv(int k,int x)
{
int j;
if (UseBook==0)
{
printf("depth= %d score= %d time= %d nodes= %d",k, x, (get_ms() - start_time) /
10, nodes);
printf("pv_length=%d",pv_length[0]);
for (j = 0; j < pv_length[0]; ++j)
printf(" %s", move_str(pv[0][j].b));
printf("\n");
}
else
printf("book\n");
fflush(stdout);
}
Uri
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.