[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] Debug flags
From: |
Gunnar Farnebäck |
Subject: |
Re: [gnugo-devel] Debug flags |
Date: |
Sun, 16 Oct 2005 22:51:18 +0200 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.3 (sparc-sun-solaris2.9) MULE/5.0 (SAKAKI) |
Dan wrote:
> Last time I knew, the metamachine was working. It was
> certainly working in 3.6. I can test it again and see
> if it still works (but not at the moment).
The small patch below is needed to make it compilable again. Do you
have some good use cases to test it with? Just starting it in ascii
mode gives a segmentation fault when generating the first move, but I
don't know whether it's expected to work.
From a 2002 message I dug up:
| Now you can run:
|
| gnugo -l ManyFaces3-gnugo-3.3.11-200211071935.sgf -L25
| --quiet --metamachine --limit-search D14 -t -o vars.sgf
|
| and notice that the metamachine makes the right move at
| C14. (If you omit the search limitation, it still moves in
| the same area but plays the wrong move at B10.)
This does still work, although it no longer finds C14.
/Gunnar
Index: interface/play_gmp.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/interface/play_gmp.c,v
retrieving revision 1.32
diff -u -r1.32 play_gmp.c
--- interface/play_gmp.c 5 Oct 2005 16:32:12 -0000 1.32
+++ interface/play_gmp.c 16 Oct 2005 20:43:14 -0000
@@ -109,7 +109,7 @@
#if ORACLE
if (metamachine && oracle_exists)
- oracle_clear_board(gnugo_get_boardsize());
+ oracle_clear_board(board_size);
#endif
sgfOverwritePropertyInt(sgftree.root, "SZ", board_size);
Re: [gnugo-devel] Debug flags, Arend Bayer, 2005/10/10