Computer Chess Club Archives


Search

Terms

Messages

Subject: Best use of attack tables

Author: Dann Corbit

Date: 18:28:14 04/27/01


Precomputing attack tables is a snap, of course.  The burning question is, how
are they best utilized?

I notice that nobody makes pawn attack tables.  Is that because pawn attacks are
too trivial to compute on the fly?

What is the typical savings of attack tables compared to performing the
computations on the fly?

Is there any advantage to trying to compress the attack tables?

Do you use attack tables against an entire side at once, or only against pieces
by set or even individual chess men?

Are they used in MVV/LVA primarily, or during all phases of evaluation?

Obviously, knight attack tables can be performed with a single & operation, but
what do you do with bishops, queens, etc, where your own man or an intervening
piece can get in the way?  Are they used only as a pre-test to see if the rest
is worth calculating?

I thought of using all your own men, &'ed together as a mask, and then clearing
everything past a "pierce" mark, but that would probably be as expensive as
computation of the attack.



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.