Computer Chess Club Archives




Subject: Re: MTD(f) and storing the PV

Author: Tord Romstad

Date: 12:10:48 07/29/03

Go up one level in this thread

On July 29, 2003 at 12:28:23, Russell Reagan wrote:

>On July 29, 2003 at 05:38:20, Tord Romstad wrote:
>>I am currently experimenting with MTD(f).  There are still a few bugs left
>>to fix, but it mostly seems to be working OK now.  However, there is one thing
>>I haven't been able to figure out:
>>Is there an easy way to store the PV in MTD(f)?  Currently I just construct a PV
>>from the hash table after each iteration.  This works, but is somewhat messy and
>>inconvenient.  Is there a better way to do it?
>Hi Tord,
>A bit off topic, but what language is your program written in?

I've seen many more off-topic questions than that in this forum!  :-)

I know why you're asking, but so far I'm afraid I have to disappoint you:
My program is currently in C (although some small parts of the C code and
data were written by Lisp programs).  It is not a new program, but a
resurrection of the program I worked on several years ago.  At that time,
I gave up in frustration because the program was so slow and buggy, but
recently I found out that modern hardware is fast enough that the program
plays OK despite all the bugs. :-)

At the moment, portability has the highest priority for me.  I develop the
program on a Mac, it plays on the ICC running on a Linux machine, and several
brave and friendly beta testers use it in Windows.  Therefore, gcc is my
compiler of choice.

I still hope to find the time to rewrite the program in Macintosh Common Lisp
with inline assembly language to elimitate bottlenecks, but I am not sure
when that will happen.  Obviously, I will then have to sacrifice easy
portability (at the moment I use precisely the same source code for all three
platforms, there are not even any platform-specific #defines in the code).
Right now, I have so much fun watching the games my program plays in various
tournaments for Winboard engines that I don't want to limit myself to the
Macintosh platform.


This page took 0.03 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.