gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] tuning patch


From: Gunnar Farneback
Subject: [gnugo-devel] tuning patch
Date: Wed, 28 Aug 2002 21:06:21 +0200
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode)

Here's a tuning patch which should solve trevora:270,
nngs:880,890,1480, and trevorc:1530, while introducing a new failure
of owl:262. It also removes a couple of patterns which were previously
commented out.

- tuning
- influence tuning
- owl tuning

/Gunnar

Index: patterns/barriers.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/barriers.db,v
retrieving revision 1.37
diff -u -r1.37 barriers.db
--- patterns/barriers.db        4 Jul 2002 19:33:00 -0000       1.37
+++ patterns/barriers.db        28 Aug 2002 09:12:21 -0000
@@ -2059,6 +2059,24 @@
 >non_xterritory(b);
 
 
+Pattern Nonterritory8b
+# gf New pattern. (3.3.7)
+
+.XO
+...
+---
+
+:8,t
+
+dEO
+bac
+---
+
+;safe_omove(a) && !oplay_defend_both(a,b,c,?,d,b,E)
+
+>non_xterritory(d);
+
+
 Pattern Nonterritory9
 
 ...X
@@ -2229,6 +2247,22 @@
 >non_oterritory(c);
 
 
+Pattern Nonterritory17b
+# gf New pattern. (3.3.7)
+
+|O.
+|XO
+
+:8,t
+
+|ba
+|Xc
+
+;!xplay_defend_both(a,b,c)
+
+>non_oterritory(a);
+
+
 Pattern Nonterritory18a
 
 .XOo
@@ -2565,6 +2599,26 @@
 >non_xterritory(b);
 >non_xterritory(c);
 >non_xterritory(d);
+
+
+Pattern Nonterritory36
+# gf New pattern. (3.3.7)
+
+OX?
+.OX
+.ox
+---
+
+:8,t
+
+OX?
+baX
+.ox
+---
+
+;attack(a)
+
+>non_oterritory(b);
 
 
 # END OF FILE
Index: patterns/conn.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/conn.db,v
retrieving revision 1.28
diff -u -r1.28 conn.db
--- patterns/conn.db    10 Aug 2002 18:13:41 -0000      1.28
+++ patterns/conn.db    28 Aug 2002 09:12:24 -0000
@@ -730,7 +730,7 @@
 
 baO
 O*.
-B!O
+X!O
 
 ;xplay_defend_both(*,a,b,*,b)
 
@@ -889,7 +889,6 @@
 B.?
 
 ; !dead(A) && !dead(B) && o_somewhere(a,b)
-
 
 
 ########################
Index: patterns/endgame.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/endgame.db,v
retrieving revision 1.36
diff -u -r1.36 endgame.db
--- patterns/endgame.db 11 Aug 2002 12:13:02 -0000      1.36
+++ patterns/endgame.db 28 Aug 2002 09:12:27 -0000
@@ -104,12 +104,13 @@
 ########################################
 
 Pattern EE1
+# gf Removed terri(1) value because move might be inside own territory. (3.3.7)
 
 ?OOx      block on edge
 ..*x      1 point gote
 ----
 
-:8,OXe,terri(1)
+:8,OXe
 
 ?ccx
 ba*x
@@ -572,6 +573,24 @@
 :8,sOXe,terri(0.5)
 
 |OX?
+|.*.
++---
+
+;marginal_eye(*)
+
+
+Pattern EE404b
+# gf New pattern. See nngs:1480. (3.3.7)
+
+|.OX
+|OX.       endgame move
+|.*.       at least 1.5 points gote as sacrifice
++---
+
+:8,sOXe,value(1.5)
+
+|.OX
+|OX.
 |.*.
 +---
 
Index: patterns/handicap.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/handicap.db,v
retrieving revision 1.1
diff -u -r1.1 handicap.db
--- patterns/handicap.db        18 Aug 2002 21:41:02 -0000      1.1
+++ patterns/handicap.db        28 Aug 2002 09:12:30 -0000
@@ -688,7 +688,7 @@
 |O.............
 +--------------
 
-:/,-,value(19)
+:8,-,value(19)
 
 |..............
 |..............
@@ -721,7 +721,7 @@
 |...................|
 |...................|
 |...................|
-|...!.....*.....!...|    
+|...!.....*.....!...|
 |...................|
 |...................|
 |...................|
@@ -745,7 +745,7 @@
 |...................|
 |...................|
 |...................|
-|...!.....*.....!...|    
+|...!.....*.....!...|
 |...................|
 |...................|
 |...................|
@@ -772,7 +772,7 @@
 |..........!........|
 |...................|
 |...................|
-|.........*.........|    
+|.........*.........|
 |...................|
 |...................|
 |........!..........|
@@ -796,7 +796,7 @@
 |..........!........|
 |...................|
 |...................|
-|.........*.........|    
+|.........*.........|
 |...................|
 |...................|
 |........!..........|
Index: patterns/owl_defendpats.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/owl_defendpats.db,v
retrieving revision 1.65
diff -u -r1.65 owl_defendpats.db
--- patterns/owl_defendpats.db  11 Aug 2002 12:13:02 -0000      1.65
+++ patterns/owl_defendpats.db  28 Aug 2002 09:12:54 -0000
@@ -4708,6 +4708,23 @@
 ;&& (oplay_attack(*,a,b,c,d,e,e) || oplay_attack(*,a,b,c,e,d,d))
 
 
+Pattern D1301b
+# gf New pattern. (3.3.7)
+
+?Xo?       connect to another dragon
+O*.O
+.xo?
+
+:8,-,value(90)
+
+?Xo?
+a*.b
+.xo?
+
+;(!owl_goal_dragon(a) || !owl_goal_dragon(b))
+;&& !oplay_disconnect(*,a,b)
+
+
 Pattern D1302
 # gf Revised constraint. (3.1.15)
 
Index: patterns/patterns.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/patterns.db,v
retrieving revision 1.80
diff -u -r1.80 patterns.db
--- patterns/patterns.db        27 Aug 2002 18:06:16 -0000      1.80
+++ patterns/patterns.db        28 Aug 2002 09:13:15 -0000
@@ -3349,18 +3349,6 @@
 ####################
 
 
-# Pattern EB101
-# # gf Redundant (special case of EB102). (3.3.3)
-#
-# ?..XXX             jump out from below
-# ?.*.O.
-# ?....O
-# ?.....
-# ------
-# 
-# :8,OXe
-
-
 Pattern EB102
 
 ?XX.??     Jump underneath
@@ -3372,18 +3360,6 @@
 :8,OXe
 
 
-# Pattern EB103
-# # gf Redundant (special case of EB104). (3.3.3)
-# 
-# ..X.O  jump under a stone on 4-th row
-# .*..O
-# ....O
-# .....
-# -----
-# 
-# :8,OXe
-
-
 Pattern EB104
 
 ?.X.o  jump under a stone on 4-th row
@@ -6952,37 +6928,6 @@
 :8,OEd,jump_out_helper
 
 
-# tm removed this pattern (3.1.18)
-#
-#Pattern CB11
-##    This pattern needs revision. It often comes up with
-##    stupid moves, e.g. in a position like this,
-##
-##    X.....
-##    .O...X
-##    O.*...
-##    XX....
-##    ......
-##
-##    where X can respond to the left of * and O only has time to
-##    defend one cutting point.
-## FIXME: see also arend:10
-#
-#.xxxxx          prevent X from sealing an area
-#O.xxxx
-#.*....
-#X.....
-#
-#:8,OXEe,value(12)
-#
-#.abcde
-#O.fghi
-#.*....
-#X.....
-#
-#; x_somewhere(a,b,c,d,e,f,g,h,i)
-
-
 Pattern CB12
 
 ....           atari to break X connection
@@ -7550,6 +7495,7 @@
 
 
 Pattern CB228
+# gf Sometimes it's better shape to jump. See nngs:1180. (3.3.7)
 
 ?XX.             prevent bend
 OO*.
@@ -7771,22 +7717,6 @@
 :8,OXe
 
 
-# Pattern CB243
-# # gf Redundant (subset of CB242). (3.3.3)
-# 
-# ?..?            Push into enemy area
-# ?*.?
-# ?OX?
-# 
-# :8,OXe
-# 
-# ?ab?
-# ?*.?
-# ?OX?
-# 
-# ;xarea(a) || xarea(b)
-
-
 Pattern CB244
 
 ?...?        hane at the head of three stones
@@ -10598,7 +10528,7 @@
 
 :8,dO
 
-.....X?        don't make the wrong atari
+.....X?
 ..X.a.?
 ...*XO?
 ....Ooo
@@ -11107,38 +11037,40 @@
 ; oplay_attack(*,a,B)
 
 
-Pattern CD97
-
-OOXO?       defend everything
-..O..
-.*..?
-?????
-
-:8,ed,value(15)
-
-BBXD?
-.aOc.
-.*..?
-?????
-
-; xplay_attack(a,B) && xplay_attack(c,D) && oplay_defend(*,c,D)
-
-
-Pattern CD98
-
-OOXO?        defend as much as we can
-..O..
-.*..?
-?????
-
-:8,ed,value(12)
-
-BBXD?
-.aOc.
-.*..?
-?????
-
-; xplay_attack(a,B) && xplay_attack(c,D)
+# Pattern CD97
+# # gf Removed pattern. (3.3.7)
+# 
+# OOXO?       defend everything
+# ..O..
+# .*..?
+# ?????
+# 
+# :8,ed,value(15)
+# 
+# BBXD?
+# .aOc.
+# .*..?
+# ?????
+# 
+# ; xplay_attack(a,B) && xplay_attack(c,D) && oplay_defend(*,c,D)
+# 
+# 
+# Pattern CD98
+# # gf Removed pattern. (3.3.7)
+# 
+# OOXO?        defend as much as we can
+# ..O..
+# .*..?
+# ?????
+# 
+# :8,ed,value(12)
+# 
+# BBXD?
+# .aOc.
+# .*..?
+# ?????
+# 
+# ; xplay_attack(a,B) && xplay_attack(c,D)
 
 
 Pattern CD99
@@ -11815,6 +11747,8 @@
 
 
 Pattern EJ33
+# gf Sometimes it's better to play one step to the left. See
+# nngs:1180. (3.3.7)
 
 ...XX          common important follow up 
 .O.*O
@@ -12619,24 +12553,6 @@
 ; !dead(A)
 
 
-#Pattern EJ83
-#This pattern breaks arb:101 - let's remove it and see what happens!
-#
-#..OXOO        make shape and defend cut
-#.*.O..
-#......
-#------
-#
-#:8,J
-#
-#..OXCC
-#.*bOa.
-#......
-#------
-#
-#; xplay_attack(a,b,C)
-
-
 Pattern EJ84
 # gf Made pattern more powerful. (3.1.9)
 # gf Added one more replacement point. (3.1.10)
@@ -13382,29 +13298,6 @@
 #
 ######################################################################
 
-# ab: I think this is well treated by our "attack dragon XX, although
-# it seems dead, as we are ahead"-policy.
-# Pattern Reinforce101
-# #FIXME: This should at least be contingent on being ahead.
-# #  see trevorc:1170
-# 
-# oO?      Eliminate aji
-# .*X
-# ...
-# ...
-# ---
-# 
-# :8,O,value(5)
-# 
-# oO?
-# .*A
-# ...
-# ...
-# ---
-# 
-# ; has_aji(A)
-# 
-
 Pattern Reinforce102
 # This pattern should be contingent on being clearly ahead.
 
@@ -13604,31 +13497,6 @@
 ; oplay_attack(*,a,a)
 
 
-##tm Removed this pattern (3.1.20)
-#Pattern LE14
-## FIXME: This pattern looks way to general/overvalued
-##   see global:27, strategy4:212, trevorc:1190
-#
-#xxx      safe jump into opponent's moyo
-#..x
-#.*.
-#...
-#o.O
-#
-#
-#:8,OE,value(9)
-#
-#abc
-#..d
-#.*h
-#.fe
-#ogO
-#
-#;(xmoyo(a) || xmoyo(b) || xmoyo(c) || xmoyo(d)) && oplay_attack(*,e,f,g,g)
-#; && oplay_attack(*,f,e,h,f)
-
-
-
 Pattern LE15
 # tm decreased value (3.1.20) (see nngs:1150 move G4)
 # gf Don't bother with this inside own territory. (3.1.29)
@@ -13669,7 +13537,6 @@
 |?.X?
 
 > replace(a,*)
-
 
 
 ######################################################################




reply via email to

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