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 

make and unmake stadistics
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Fermin Serrano



Joined: 08 Feb 2008
Posts: 509
Location: Madrid - Spain

PostPost subject: make and unmake stadistics    Posted: Tue Feb 28, 2012 9:37 am Reply to topic Reply with quote

Hello,

I made a small investigation in orden to fast my makemove and unmakemoves routines. In my engine, this routines have switch statements that examines the moved pieced and the captured pieces if it exits. My statements are sorted following standard enumeration: no_piece, pawn, knight, bishop, root, queen and king.

What I did is examine four thousand chess games (that I think should be enough) counting how many times a piece is moved, so I can use that information to change the orden in which the switch statement examines pieces.

This where may findings:

Code:
Numbers of time a pieze is moved:
Piece    For all the game    Only for opening + middle game
ROOK          38.937                  24.322
PAWN          31.243                  22.267
QUEEN         23.606                  20.855
BISHOP        25.865                  18.095
KNIGHT        20.810                  16.609
KING          25.587                   8.554
      
Numbers of captures
Piece   Captures
PAWN     10.640   
KINGHT    5.165   
BISHOP    4.777   
ROOK      3.382   
QUEEN     2.133   
KING          0   


So I changed my routines to the above order. As you can see I had not to change captures order, as it is the usual, only I changed the moved piece. It is curious that rooks is the more often moved piece, even over pawns.

For my surprise, my engines scored 15 Elo points worse for that little change. This makes me things that maybe is not the same the moves stadistics doing in a game, than stadistics doing in the search over all games. Any opinions here?

I post this findings for it somebody find they usefull.

Regards
Fermin
_________________
Fermin Serrano
Author of 'Rodin' engine
http://sites.google.com/site/clonfsp/
http://clonfsp.wordpress.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Subject Author Date/Time
make and unmake stadistics Fermin Serrano Tue Feb 28, 2012 9:37 am
      Re: make and unmake stadistics Daniel Shawul Tue Feb 28, 2012 12:07 pm
      Re: make and unmake stadistics E Diaz Tue Feb 28, 2012 12:40 pm
      Re: make and unmake stadistics Pablo Vazquez Tue Feb 28, 2012 3:19 pm
      Re: make and unmake stadistics Kevin Hearn Tue Feb 28, 2012 4:16 pm
      Re: make and unmake stadistics Evert Glebbeek Tue Feb 28, 2012 6:36 pm
            Re: make and unmake stadistics Fermin Serrano Wed Feb 29, 2012 12:45 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