gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] New file, engine/unconditional.c


From: Gunnar Farnebäck
Subject: [gnugo-devel] New file, engine/unconditional.c
Date: Fri, 14 May 2004 05:00:51 +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)

This patch adds a new file, engine/unconditional.c. So far it's empty,
to give time for the makefiles and windows build files to catch up.
When they are ready I plan to move capture_non_invincible_strings()
and unconditional_life() there from engine/utils.c.

The real point of the file, however, is to implement reading with the
objective to reach invincibility. This can be useful to more
accurately determine when dragons are so strongly alive that they need
no more reinforcement and can in certain situations be useful as a
complementary life and death reading.

- new file engine/unconditional.c added

/Gunnar

Index: engine/Makefile.am
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/Makefile.am,v
retrieving revision 1.21
diff -u -r1.21 Makefile.am
--- engine/Makefile.am  10 Aug 2003 17:56:50 -0000      1.21
+++ engine/Makefile.am  14 May 2004 01:40:20 -0000
@@ -50,6 +50,7 @@
       shapes.c \
       showbord.c \
       surround.c \
+      unconditional.c \
       utils.c \
       value_moves.c \
       worm.c
Index: engine/unconditional.c
===================================================================
RCS file: engine/unconditional.c
diff -N engine/unconditional.c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ engine/unconditional.c 14 May 2004 01:40:21 -0000
@@ -0,0 +1,30 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
+ * This is GNU Go, a Go program. Contact address@hidden, or see       *
+ * http://www.gnu.org/software/gnugo/ for more information.          *
+ *                                                                   *
+ * Copyright 1999, 2000, 2001, 2002, 2003 and 2004                   *
+ * by the Free Software Foundation.                                  *
+ *                                                                   *
+ * This program is free software; you can redistribute it and/or     *
+ * modify it under the terms of the GNU General Public License as    *
+ * published by the Free Software Foundation - version 2             *
+ *                                                                   *
+ * This program is distributed in the hope that it will be useful,   *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of    *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     *
+ * GNU General Public License in file COPYING for more details.      *
+ *                                                                   *
+ * You should have received a copy of the GNU General Public         *
+ * License along with this program; if not, write to the Free        *
+ * Software Foundation, Inc., 59 Temple Place - Suite 330,           *
+ * Boston, MA 02111, USA.                                            *
+\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+
+
+/*
+ * Local Variables:
+ * tab-width: 8
+ * c-basic-offset: 2
+ * End:
+ */




reply via email to

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