Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Conversion to dual positions for EPD testsuites?

Author: Dann Corbit

Date: 09:35:57 11/27/01

Go up one level in this thread


On November 27, 2001 at 03:53:49, Andreas Stabel wrote:
>On November 27, 2001 at 03:48:09, Andrew Williams wrote:
>>On November 27, 2001 at 00:52:58, Leen Ammeraal wrote:
>>>On November 26, 2001 at 17:58:38, Vincent Diepeveen wrote:
>>>>On November 26, 2001 at 12:47:59, Dann Corbit wrote:
>>>>>On November 26, 2001 at 12:43:49, Leen Ammeraal wrote:
>>>>>By the permutator viewer of Les Fernandez.
>>>>
>>>>Or one mouse click in DIEP or in Shredder5 :)
>>>
>>>This may be very useful for single positions, but
>>>what I want is a conversion program to convert
>>>a testsuite, say wac.epd, into another testsuite,
>>>say wacDual.epd, in which the roles of White and
>>>Black are reversed, including the final part
>>>(bm ...) of each line, as I showed in my example.
>>>Therefore I am afraid this permutation viewer
>>>suggested by Dann is not precisely what I want
>>>either.
>>>It might have been easier for me to write
>>>this rather simple conversion program myself
>>>than writing all these postings -:).
>>>Leen
>>
>>There is such a tool. It's called rfen.c I'll
>>send it to you, but you have to compile it
>>yourself. I'm afraid I don't know the origin of
>>it. I know that the author sent it to me a few
>>years ago, then I lost it and someone else sent
>>me a copy.
>>
>>Andrew
>
>I think I have made the program. It can transform FEN positions in many was
>like switch black and white, mirror left and right side (if no castling) and
>it can even rotate a position 90 degrees if there are no pawns.
>If I remember correctly, it processes a whole file of one line FEN positions.
>I hope you find it useful (if it really is the program I wrote :)

I would like a copy also.  Such a thing can be tremendously useful.  Besides
test suites, if you maintain a hash table of many gigabytes, it might even make
sense to transform the position you are looking for into all of its permutations
and do a hash search until you find one deep enough or miss them all.



This page took 0.05 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.