ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cutechess-cli questions
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
H.G.Muller



Joined: 10 Mar 2006
Posts: 12755
Location: Amsterdam

PostPost subject: Re: Cutechess-cli questions    Posted: Sat May 12, 2012 7:00 am Reply to topic Reply with quote

You could make the engine suspicious of branches that have a large number of (reversible) consecutive checks in them at the end. You could apply this at the last level where you still consider evations (e.g. in an check-evasion node of QS). Normally you would do a repetition test, by comparing hash key with that of previous nodes, upto the last reversible move. But you could also test the in-check variable of these nodes, and then multiply the evaluation by a factor < 1 depending on the number of checks. (E.g. 1 or 2 checks would probably not be significant, and still use factor 1, and for 3, 4, 5, ... checks you could use factors 0.6, 0.3, 0.1, ...)

This should hadly take any time, as check-evasion nodes will not be very common.

To improve reliability of hashing you could also keep a running count of the number of consecutive checks (i.e. set the in-check variable to that of two ply earlier + 1 when you are in check, and reset to 0 when not), and add a spoiler key to the hash key whenever the in-check is above 2.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Subject Author Date/Time
Cutechess-cli questions Ed Schroder Fri May 11, 2012 11:08 am
      Re: Cutechess-cli questions Lucas Braesch Fri May 11, 2012 11:41 am
            Re: Cutechess-cli questions Ed Schroder Fri May 11, 2012 1:36 pm
                  Re: Cutechess-cli questions Jon Dart Fri May 11, 2012 4:34 pm
                        Re: Cutechess-cli questions Ronald de Man Fri May 11, 2012 7:39 pm
                        Re: Cutechess-cli questions Lucas Braesch Sat May 12, 2012 1:37 am
                              Re: Cutechess-cli questions H.G.Muller Sat May 12, 2012 7:00 am
            Re: Cutechess-cli questions Ilari Pihlajisto Fri May 11, 2012 3:19 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
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




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads