Author: Uri Blass
Date: 01:32:24 03/19/04
Go up one level in this thread
On March 19, 2004 at 04:15:22, Sergei S. Markoff wrote:
>int NonCaptureRank(MOVE m,int Depth)
>{
> int index=((m&4095)<<1)|SideToMove;
> int index1=history_group[M_PIECE(m)];
> int r=(history[index1][index]);
>
> if(Depth>2*INCPLY) do
> {
> int sw=Swabbing(M_TO(m),M_FROM(m));
> if(sw<0) r-=MAX_HISTORY; else
> {
> if((!ENDING(ChangeSide(SideToMove)))&&CheckingMove(m))
> {
> r+=MAX_HISTORY;
> break;
> }
>
> if(M_CAPTURE(ThreatMove[ply]))
> {
> if(M_FROM(m)==M_TO(ThreatMove[ply])) r+=MAX_HISTORY;
> }
> }
> } while(0);
>
> return r;
>}
What is Swabbing?(is it SEE value)
I guess MAX_HISTORY is the maximal value of history tables.
What is ENDING() and M_CAPTURE(?
What are the moves in the array ThreatMove[?
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.