[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] Patch arend_1_14.2 revised
From: |
Arend Bayer |
Subject: |
[gnugo-devel] Patch arend_1_14.2 revised |
Date: |
Mon, 12 Nov 2001 22:32:53 +0100 (CET) |
While fixing the constraint for EE302, it seemed to me that the
this
> !oplay_defend_both(b,c,a,b)
works better. So here is my new patch which supercedes the previous one;
it also adds another pattern that seemed to be missing.
-Arend
New file:
gnugo/regression/games/arend/constructed6.sgf
===================================================================
(;GM[1]FF[3]
RU[Japanese]SZ[9]HA[0]KM[5.5]
PW[White]
PB[Black]
GN[White (W) vs. Black (B)]
DT[2001-11-11]
SY[Cgoban 1.9.10]TM[-];PL[2]
AW[bb][eb][dc][fc][hc][dd][be][ce][ee][fe][ge][he][ie]
AB[ae][de][af][bf][cf][df][ef][ff][gf][hf][if]
)
Index: gnugo/patterns/endgame.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/endgame.db,v
retrieving revision 1.6
diff -u -r1.6 endgame.db
--- gnugo/patterns/endgame.db 2001/10/28 16:01:18 1.6
+++ gnugo/patterns/endgame.db 2001/11/12 21:29:07
@@ -451,7 +451,7 @@
da
--
-;eye(a) && eye(b) && !oplay_attack(a,b,b)
+;eye(a) && eye(b) && oplay_defend_both(a,b,a,c)
# first line corner moves
Index: gnugo/patterns/patterns.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/patterns.db,v
retrieving revision 1.24
diff -u -r1.24 patterns.db
--- gnugo/patterns/patterns.db 2001/11/10 14:07:10 1.24
+++ gnugo/patterns/patterns.db 2001/11/12 21:29:18
@@ -4977,6 +4977,35 @@
;oplay_attack(*,A)
+Pattern EB715
+# Added for 3.1.14
+
+O.*
+X..
+---
+
+:8,OXb
+
+ac*
+Xbd
+---
+
+;!oplay_defend_both(b,c,a,b) && !oplay_defend_both(c,b,d,*,c,d)
+
+Pattern EB716
+
+
+O*.
+X..
+---
+
+:8,OXb
+
+a*c
+Xbd
+---
+
+;!oplay_defend_both(b,*,a,b) && oplay_defend_both(*,b,d,c,a,d)
############################################################
# Monkey jump and other intrusions on first and second lines
Index: gnugo/regression/arend.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/arend.tst,v
retrieving revision 1.1
diff -u -r1.1 arend.tst
--- gnugo/regression/arend.tst 2001/11/11 15:56:05 1.1
+++ gnugo/regression/arend.tst 2001/11/12 21:29:18
@@ -216,3 +216,16 @@
loadsgf games/arend/constructed4.sgf
39 gg_genmove black 3
#? [G10|H10|F13]*
+
+#CATEGORY=ENDGAME_TUNING
+# EB714 is necessary here; without it, GnuGo played B6, only for the
+# reason of filling a liberty
+loadsgf games/arend/constructed5.sgf
+40 gg_genmove white
+#? [B7]*
+
+#CATEGORY=ENDGAME_TUNING
+# EB715 necessary
+loadsgf games/arend/constructed6.sgf
+41 gg_genmove white
+#? [B6]*
- [gnugo-devel] move valuation, (continued)
- Re: [gnugo-devel] move valuation, Gunnar Farneback, 2001/11/14
- Re: [gnugo-devel] move valuation, Arend Bayer, 2001/11/14
- Re: [gnugo-devel] move valuation, Gunnar Farneback, 2001/11/15
- Re: [gnugo-devel] move valuation, Inge Wallin, 2001/11/15
- Re: [gnugo-devel] move valuation, Gunnar Farneback, 2001/11/15
- Re: [gnugo-devel] Patch arend_1_14.2 -- Missing endgame pattern, Inge Wallin, 2001/11/13
Re: [gnugo-devel] Patch arend_1_14.2 -- Missing endgame pattern, Daniel Bump, 2001/11/12
[gnugo-devel] Patch arend_1_14.2 revised,
Arend Bayer <=