Computer Chess Club Archives


Search

Terms

Messages

Subject: Compact attacks in Crafty

Author: Russell Reagan

Date: 17:52:11 05/22/03


I'm having a hard time figuring out how the compact-attacks work in Crafty (get
lost in the preprocessor stuff). Could Bob, or anyone who understands it,
explain the general idea?

Also, how much memory do the compact attacks use? I assume the "full" attacks
are 512 KB? 256 rank/file/diagonal states * 64 squares * 8 bytes per bitboard *
4 tables (rank/file/a1-h8/h1-a8) = 524,288 bytes = 512 KB. Is this correct?



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.