Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: incremental attack tables?

Author: Sune Fischer

Date: 02:39:28 05/05/04

Go up one level in this thread



>   First you update the attack table with the move and then you generate only
>legal moves based on the attack tables , right? What i do is update the attack
>table and then generate "pseudo legal" moves,except king moves to an attacked
>square. So our difference is you have a routine which calculates only legal
>moves based on your attack tables. I don't see how that can speed up perft
>immensely.

It can't :)
The speed up Uri gets in perft comes from not having to make the moves at the
leaf.
The moves are just generated and then counted and the makemove is saved.

It doesn't have anything to do with attacktables, you can make a legal move
generator that does this trick without attacktables.

The "perft trick" is not really interesting IMO, because it's not how a chess
program usually does things.

-S.
>daniel




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.