Computer Chess Club Archives


Search

Terms

Messages

Subject: Quiesce in tscp?

Author: Gopi

Date: 13:57:50 10/26/03


In Quiesce function in tscp we are doing the following manipulation to pv array,
pv[ply][ply]=gen_dat[i].m; <--This is ok

But I dont follow the below ones,
for(j=ply+1;j<pv_length[ply+1];++j)
    pv[ply][j]=pv[ply+1][j];
pv_length[ply]=pv_length[ply+1];

Because suppose say ply=2,we have pv_length[2]=2,but above in for loop we get
pv_length[3] but pv_length[3] is not yet defined so how its used? Can anyone
explain please? Thanks.



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.