gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] Connection point not seen


From: bump
Subject: Re: [gnugo-devel] Connection point not seen
Date: Wed, 4 Jun 2003 07:15:50 -0700

Arend wrote:

> I really hope that I can fix the performance issues so that we can
> enable this code for 3.4.

Maybe we should make it a configure option.

Dan

Index: config.h.in
===================================================================
RCS file: /cvsroot/gnugo/gnugo/config.h.in,v
retrieving revision 1.28
diff -u -r1.28 config.h.in
--- config.h.in 30 Apr 2003 16:20:27 -0000      1.28
+++ config.h.in 4 Jun 2003 14:10:33 -0000
@@ -6,6 +6,9 @@
 /* Define to use ansi escape sequences for color debugging */
 #undef ANSI_COLOR
 
+/* Break-in module. Default not enabled. */
+#undef BREAK_IN
+
 /* Ruleset. Default Japanese */
 #undef CHINESE_RULES
 
Index: config.vc
===================================================================
RCS file: /cvsroot/gnugo/gnugo/config.vc,v
retrieving revision 1.78
diff -u -r1.78 config.vc
--- config.vc   3 Jun 2003 18:30:21 -0000       1.78
+++ config.vc   4 Jun 2003 14:10:33 -0000
@@ -40,6 +40,9 @@
 /* Oracle. Default not enabled. */
 #define ORACLE 0
 
+/* Break-in module. Default not enabled. */
+#define BREAK_IN 0
+
 /* Owl Node Limit */
 #define OWL_NODE_LIMIT 1000
 
Index: config.vcin
===================================================================
RCS file: /cvsroot/gnugo/gnugo/config.vcin,v
retrieving revision 1.24
diff -u -r1.24 config.vcin
--- config.vcin 3 Jun 2003 00:22:41 -0000       1.24
+++ config.vcin 4 Jun 2003 14:10:33 -0000
@@ -40,6 +40,9 @@
 /* Oracle. Default not enabled. */
 #define ORACLE 0
 
+/* Break-in module. Default not enabled. */
+#define BREAK_IN 0
+
 /* Owl Node Limit */
 #define OWL_NODE_LIMIT 1000
 
Index: configure.in
===================================================================
RCS file: /cvsroot/gnugo/gnugo/configure.in,v
retrieving revision 1.83
diff -u -r1.83 configure.in
--- configure.in        3 Jun 2003 12:56:21 -0000       1.83
+++ configure.in        4 Jun 2003 14:11:33 -0000
@@ -76,16 +76,20 @@
   --disable-chinese-rules     use Japanese counting (default)])
 
 AC_ARG_ENABLE(resignation-allowed,
- [  --enable-resignation allowed      resign lost games
-  --disable-resignation-allowed     never resign (default)])
+ [  --enable-resignation allowed       resign lost games
+  --disable-resignation-allowed      never resign (default)])
 
 AC_ARG_ENABLE(oracle,
- [  --enable-oracle           enable oracle
-  --disable-oracle         don't enable oracle (default)])
+ [  --enable-oracle                    enable oracle
+  --disable-oracle                   don't enable oracle (default)])
 
 AC_ARG_ENABLE(experimental-semeai,
- [  --enable-experimental-semeai       use the experimental semeai module 
(default)
-  --disable-experimental-semeai      use standard semeai module])
+ [  --enable-experimental-semeai       use the semeai module (default)
+  --disable-experimental-semeai      use old semeai module])
+
+AC_ARG_ENABLE(experimental-break-in,
+ [  --enable-experimental-break-in     use the breakin module 
+  --disable-experimental-break-in    don't use the breakin module (default)])
 
 AC_ARG_ENABLE(experimental-owl-ext,
  [  --enable-experimental-owl-ext      use the experimental GAIN/LOSS codes
@@ -102,9 +106,9 @@
 
 AC_ARG_ENABLE(alternate-connections,
  [  --enable-alternate-connections     use alternate experimental connection
-                                       analysis
+                                         analysis
   --disable-alternate-connections    use primary experimental connection 
-                                     analysis (default)])
+                                         analysis (default)])
 
 AC_ARG_ENABLE(experimental-hashing,
  [  --enable-experimental-hashing      use experimental hashing scheme 
(default)
@@ -419,6 +423,17 @@
    AC_DEFINE(ORACLE, 1)
 else
    AC_DEFINE(ORACLE, 0)
+fi
+
+dnl ------------ Experimental Breakin enabled-------------------
+
+AH_TEMPLATE([BREAK_IN],
+[Break-in module. Default not enabled.])
+
+if test "$enable_experimental_break_in" = "yes" ; then
+   AC_DEFINE(BREAK_IN, 1)
+else
+   AC_DEFINE(BREAK_IN, 0)
 fi
 
 dnl ------------ Semeai -------------------
Index: makevcdist.pl
===================================================================
RCS file: /cvsroot/gnugo/gnugo/makevcdist.pl,v
retrieving revision 1.15
diff -u -r1.15 makevcdist.pl
--- makevcdist.pl       3 Jun 2003 00:22:41 -0000       1.15
+++ makevcdist.pl       4 Jun 2003 14:11:37 -0000
@@ -20,6 +20,7 @@
    EXPERIMENTAL_READING => 0,
    GRID_OPT => 1,
    OWL_THREATS => 0,
+   BREAK_IN => 0,
    ORACLE => 0);
 
 my @skip = qw/
Index: engine/globals.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/globals.c,v
retrieving revision 1.47
diff -u -r1.47 globals.c
--- engine/globals.c    2 Jun 2003 23:49:47 -0000       1.47
+++ engine/globals.c    4 Jun 2003 14:11:57 -0000
@@ -142,7 +142,7 @@
 /* use experimental owl extension (GAIN/LOSS) */
 int experimental_owl_ext = EXPERIMENTAL_OWL_EXT;
 /* use experimental territory break-in module */
-int experimental_break_in = 0;
+int experimental_break_in = BREAK_IN;
 
 int allow_suicide       = 0;    /* allow opponent to make suicide moves */
 int capture_all_dead    = 0;    /* capture all dead opponent stones */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]