TalkChess.com
Hosted by Your Move Chess & Games

Author Message
Marco Belli

Joined: 23 May 2010
Posts: 96

Post subject: Re: futility pruining, razoring question    Posted: Mon Apr 09, 2012 7:42 pm

I'm reading again and again the whole post nad I'm rather confuse.

let's see if I could summarize everything I have read about Razoring

just after Qsearch (if depth<=0) and TT testing i could try to razor the search.

There is Razoring (cutting if score <alpha) and static null move pruning or eval pruning (score>beta)

 Code: if(!isCheck && beta ==alpha+1 && depth<=3 && abs(beta) < CHECKMATESCORE - 1000){    int score=board.eval();         if ( score - razoringMargin(depth) < alpha )         {             int res = qsearch( ply, alpha-razoringMargin(depth), beta - razoringMargin(depth) );            if (res - razoringMargin(depth) <= alpha)                 return score;         }     } }

what still I havent' understood is how big could be razorMargin.

talking instead about Static Null Move Pruning, it could be done even in no PV nodes, and could be done without Qsearch and with a smaller margin.
something like this:
 Code: if(!isCheck && depth<=3 && abs(beta) < CHECKMATESCORE - 1000){ int score=board.eval();   if ( score + margin[depth] > beta ){     return beta;   } }

I hope I haven't done too much errors
Have I understood it correctly?
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
Subject Author Date/Time
Marco Belli Wed Apr 04, 2012 6:21 pm
Robert Hyatt Thu Apr 05, 2012 7:07 pm
Karlo Bala Jr. Thu Apr 05, 2012 7:59 pm
Vincent Diepeveen Thu Apr 05, 2012 11:47 pm
Lucas Braesch Fri Apr 06, 2012 3:34 am
Martin Sedlak Fri Apr 06, 2012 3:35 am
Martin Sedlak Fri Apr 06, 2012 4:10 am
Martin Sedlak Fri Apr 06, 2012 5:15 am
Marco Costalba Fri Apr 06, 2012 5:45 am
Lucas Braesch Fri Apr 06, 2012 7:22 am
Martin Sedlak Fri Apr 06, 2012 7:30 am
Lucas Braesch Fri Apr 06, 2012 8:36 am
Marco Costalba Fri Apr 06, 2012 11:42 am
Lucas Braesch Fri Apr 06, 2012 1:21 pm
Ricardo Barreira Fri Apr 06, 2012 3:00 pm
Vincent Diepeveen Fri Apr 06, 2012 5:21 pm
Lucas Braesch Sat Apr 07, 2012 1:59 am
Vincent Diepeveen Sat Apr 07, 2012 8:22 am
Marco Costalba Sat Apr 07, 2012 9:52 am
Vincent Diepeveen Sat Apr 07, 2012 1:53 pm
Ed Schroder Sat Apr 07, 2012 3:46 pm
Vincent Diepeveen Sat Apr 07, 2012 4:07 pm
Lucas Braesch Sun Apr 08, 2012 3:08 am
Vincent Diepeveen Sun Apr 08, 2012 10:12 am
Matthew R. Brades Sun Apr 08, 2012 11:18 am
Re: futility pruining, razoring question Marco Belli Mon Apr 09, 2012 7:42 pm
Marco Belli Mon Apr 09, 2012 8:23 pm
Martin Sedlak Mon Apr 09, 2012 9:04 pm
Marco Belli Mon Apr 09, 2012 9:24 pm
Marco Belli Tue Apr 10, 2012 10:52 am
Martin Sedlak Tue Apr 10, 2012 11:58 am
John Merlino Sat Apr 07, 2012 5:10 pm
Vincent Diepeveen Sat Apr 07, 2012 5:41 pm
John Merlino Sat Apr 07, 2012 5:54 pm

 Jump to: Select a forum Computer Chess Club Forums----------------Computer Chess Club: General TopicsComputer Chess Club: Tournaments and MatchesComputer Chess Club: Programming and Technical DiscussionsComputer Chess Club: Engine Origins Other Forums----------------Chess Thinkers ForumForum Help and Suggestions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum