Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Books

Author: Marc-Philippe HUGET

Date: 23:11:50 04/20/99

Go up one level in this thread


On April 20, 1999 at 15:37:19, Christophe Theron wrote:


>>(e4(e5(d4 ...)(Nf6 ...))(d4(d5 ...))
>And how do you handle transpositions? I have an idea, but I would like to hear
>yours.

Hi,

Transpositions are very simple since after each (, you are one-move forward and
after each ), you are one-move backward. So, if you have e4, you play the move
and you are in one position, after e5 you are in another position. It is a
depth-first search in a tree, you do and undo moves. In fact, with this kind of
books, you play moves until you find the correct position and then you play the
next move.

After e4, position p1
After e5, position p2
After d4, position p3 and so on, if you finish the line beginning with d4
You are after e5 and position p2
After Nf6, position p4 etc.

Marc-Philippe



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.