Author: Andrew Williams
Date: 01:01:24 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 :) > >Regards >Andreas Stabel That's right! Thanks Andreas. You know, you should put your name in the source file so that people know who to be grateful to! :-) It has proved REALLY useful to me over the years. I often test my evaluation function by reversing a whole test suite and running my eval against both sets. I have a special mode which prints out the scores from White's point of view so I can compare the outputs very easily. I'm 100% certain I'm not the only programmer who uses rfen in this way. Thanks again Andreas. Regards Andrew
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.