[Top][All Lists]
[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 Nov 2001 22:18:46 +0100 |
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) |
Finally a tuning patch. I'm not exactly certain how this patch affects
the regressions but it does at least solve some of the trevora test
cases.
- tuning
- owl tuning
- influence tuning
- connections tuning
/Gunnar
Index: patterns/barriers.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/barriers.db,v
retrieving revision 1.10
diff -u -r1.10 barriers.db
--- patterns/barriers.db 2001/11/25 11:23:40 1.10
+++ patterns/barriers.db 2001/11/28 21:14:36
@@ -1374,6 +1374,25 @@
;lib(A)==1
+Pattern Intrusion42
+
+?Ooo
+.XOo
+.!X.
+....
+----
+
+:8,B,value(30)
+
+?Oeo
+bXOo
+.aDc
+....
+----
+
+;(o_somewhere(e) || !safe_xmove(e)) && !oplay_defend(a,b,c,D)
+
+
Pattern Nonterritory1
OxO
@@ -1704,6 +1723,46 @@
>non_oterritory(a);
>non_oterritory(c);
+
+
+Pattern Nonterritory18a
+
+.XOo
+..xO
+----
+
+:8,t
+
+dEOo
+bacO
+----
+
+;!oplay_defend_both(a,b,c,?,d,b,E)
+
+>non_xterritory(a);
+>non_xterritory(b);
+>non_xterritory(d);
+
+
+Pattern Nonterritory18b
+
+..XOo
+...xO
+-----
+
+:8,t
+
+fbXOo
+dcaeO
+-----
+
+;!oplay_defend_both(a,b,c,d,e,?,f,d,b)
+
+>non_xterritory(a);
+>non_xterritory(b);
+>non_xterritory(c);
+>non_xterritory(d);
+>non_xterritory(f);
# END OF FILE
Index: patterns/conn.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/conn.db,v
retrieving revision 1.9
diff -u -r1.9 conn.db
--- patterns/conn.db 2001/11/10 09:26:25 1.9
+++ patterns/conn.db 2001/11/28 21:14:36
@@ -411,6 +411,25 @@
:8,B
+Pattern EB24
+
+??X
+?!.
+.*O
+.!.
+---
+
+:8,B
+
+??X
+?!.
+.*a
+.!.
+---
+
+;!xplay_defend(*,a)
+
+
##########################
#
# B patterns in the center
@@ -1146,34 +1165,6 @@
> amalgamate(e,f);
>else
> amalgamate_most_valuable_helper(e,f,g);
-
-
-##############################
-#
-# eye space modifying patterns
-#
-##############################
-
-# Pattern Eye1
-# Taken out because it caused a crash.
-# Experiment with patterns that modify the eye space computed
-# by make_domains.
-#
-# XXOO?
-# XO.OX
-# .....
-# -----
-#
-# :8,e
-#
-# ?XOO?
-# XOaOX
-# .....
-# -----
-#
-# ;marginal_eye(a)
-#
-# >make_proper_eye(a)
#############################
Index: patterns/owl_attackpats.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/owl_attackpats.db,v
retrieving revision 1.30
diff -u -r1.30 owl_attackpats.db
--- patterns/owl_attackpats.db 2001/11/26 14:54:28 1.30
+++ patterns/owl_attackpats.db 2001/11/28 21:14:36
@@ -212,12 +212,13 @@
Pattern A107
+# gf Not on second line without known support. See trevora:290. (3.1.15)
-.... block on third line
-X.*.
-....
-....
-----
+....? block on third line
+X.*.?
+....?
+....?
+-----
:8,-,value(50)
@@ -1758,6 +1759,24 @@
----
;oplay_attack(*,a,b,c,D)
+
+
+Pattern A614
+# gf New pattern. (3.1.15)
+
+XXO? destroy eyespace when we can't capture
+..XO
+X.*.
+----
+
+:8,-,value(65)
+
+XXO?
+.aXO
+X.*.
+----
+
+;!oplay_attack(a,*,*)
#########################################################
Index: patterns/owl_defendpats.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/owl_defendpats.db,v
retrieving revision 1.30
diff -u -r1.30 owl_defendpats.db
--- patterns/owl_defendpats.db 2001/11/26 14:54:28 1.30
+++ patterns/owl_defendpats.db 2001/11/28 21:14:37
@@ -932,16 +932,17 @@
Pattern D300
+# gf Revised pattern. (3.1.15)
-X..? push into the open
-O*..
-x..?
+X..?? push into the open
+O*..?
+x..??
:8,-,value(80)
-X..?
-O*.a
-x..?
+X..??
+O*.a?
+x..??
;owl_escape_value(a) > 1
@@ -2205,6 +2206,7 @@
Pattern D704b
+# gf Revised constraint. (3.1.15)
oO. half eye sometimes missed
O.*
@@ -2212,12 +2214,12 @@
:8,-,value(35)
-oOb
-Ba*
+cOb
+Oa*
---
; safe_xmove(b) && safe_xmove(*) && oplay_attack(*,b,b)
-; && owl_topological_eye(a,B)==3
+; && (o_somewhere(c) || !safe_xmove(c))
Pattern D705
@@ -2379,6 +2381,22 @@
; lib(a)==2 && xlib(*)>1 && owl_big_eyespace(*,a)
+Pattern D715b
+# gf New pattern. (3.1.15)
+
+O.*
+XO. defend against atari inside eyespace on edge
+---
+
+:8,-,value(36)
+
+O.*
+Xab
+---
+
+;xlib(b)>1 && owl_big_eyespace(b,a) && oplay_attack(*,b,b)
+
+
Pattern D716
# gf New pattern. (3.1.11)
@@ -3160,6 +3178,35 @@
;lib(a)==1 && owl_eyespace(*,a) && olib(*) > 0
+Pattern D910a
+# gf New pattern. (3.1.15)
+
+o.O.X block
+.*X..
+.....
+-----
+
+:8,-,value(65)
+
+
+Pattern D910b
+# gf New pattern. (3.1.15)
+
+o.O.X block in sente
+.*X..
+.....
+-----
+
+:8,-,value(75)
+
+obO.X
+.*Xa.
+.....
+-----
+
+;xplay_attack(a,*,b,b)
+
+
#########################################################
# #
# Prevent a cut #
@@ -4110,6 +4157,7 @@
Pattern D1302
+# gf Revised constraint. (3.1.15)
OX? try to connect out
.*O
@@ -4119,9 +4167,10 @@
bX?
a*c
-.??
+.de
-;(!owl_goal_dragon(b) || !owl_goal_dragon(c)) && oplay_attack(*,a,a)
+;!(o_somewhere(d) && o_somewhere(e))
+;&& (!owl_goal_dragon(b) || !owl_goal_dragon(c)) && oplay_attack(*,a,a)
Pattern D1303
@@ -4214,20 +4263,21 @@
Pattern D1308
+# gf Not towards edge. (3.1.15)
-oooo
-O.*o try to escape
-....
-....
-----
+oooo?
+O.*o? try to escape
+....?
+....?
+-----
:8,-,value(75)
-ooob
-O.*a
-....
-....
-----
+ooob?
+O.*a?
+....?
+....?
+-----
;owl_escape_value(a) + owl_escape_value(b) > 0
Index: patterns/owl_vital_apats.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/owl_vital_apats.db,v
retrieving revision 1.11
diff -u -r1.11 owl_vital_apats.db
--- patterns/owl_vital_apats.db 2001/11/26 14:54:28 1.11
+++ patterns/owl_vital_apats.db 2001/11/28 21:14:37
@@ -585,6 +585,25 @@
; oplay_defend_both(*,A,*)
-# END OF FILE
+Pattern VA29
+# gf New pattern. (3.1.15)
+# See trevora:25
+
+??O
+x.. capture a string at the edge of an eyespace
+.*X
+...
+---
+
+:8,-,value(80)
+??O
+x..
+.*A
+...
+---
+;owl_big_eyespace(*,A) && !oplay_defend(*,A)
+
+
+# END OF FILE
Index: patterns/patterns2.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/patterns2.db,v
retrieving revision 1.14
diff -u -r1.14 patterns2.db
--- patterns/patterns2.db 2001/11/14 19:16:28 1.14
+++ patterns/patterns2.db 2001/11/28 21:14:38
@@ -1289,14 +1289,21 @@
Pattern Shape6
+# gf Added constraint. (3.1.15)
-*.O classical good shape
+*.O classical good shape, unless it leaves a double atari
..O
OOX
:\,-,shape(2)
+*.O
+.aO
+OOX
+
+;oplay_attack(*,a,a)
+
Pattern Shape6b
*.O secures eye
@@ -2331,6 +2338,26 @@
:8,-,shape(-1)
+Pattern Shape75
+# gf New pattern. (3.1.15)
+
+?Xxx
+.OXx
+..*.
+....
+----
+
+:8,-,shape(-1)
+
+?XDx
+bOXx
+.a*c
+....
+----
+
+;(o_somewhere(D) || oplay_attack(*,?,D,D)) && !oplay_defend(*,a,b,c,*)
+
+
###########################
#
# Followup moves.
@@ -2628,6 +2655,22 @@
---
;xplay_attack(*,a,b,*) && xplay_defend_both(*,a,b,*,b)
+
+
+Pattern Sente17
+# gf New pattern. (3.1.15)
+
+.OXx
+.*oX
+----
+
+:8,X,reverse_followup(5)
+
+cdXx
+a*bX
+----
+
+;alive(d) && !xplay_defend_both(*,a,b,?,c,a,d)
########################################################