Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: question about generating incremental move generator

Author: Robert Hyatt

Date: 10:13:06 10/24/02

Go up one level in this thread


On October 24, 2002 at 07:09:17, Uri Blass wrote:

>How many function do you have in an incremental move generator?
>
>If I understood correctly programs use
>
>1)Generatehash(generates nothing if the hash move is illegal or null)
>2)Generategoodcaptures
>3)Generate killer1(generates nothing if the first killer is illegal)
>4)Generate killer2(generates nothing if the second killer is illegal)
>5)Generating rest
>
>I think that 1,3,4 may be the same function because in all of them I need to
>check if a move is legal when I have the move(includes the from square the to
>square and more information in case of promotion).
>
>
>I first think only to have generatehash and generaterest but generaterest
>already means that I have to change my move generator.
>
>I doubt if generating rest is faster than generating all because I need to check
>for every candidate move that it is not a previous move that I already
>generated.
>
>Uri


Just remember that in computer chess, procrastination is a good thing.  You
should "always
put off until later that which you don't absolutely have to do right now."
Because "later"
might never come due to alpha/beta cutoffs...



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.