[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] New owl attack pattern
From: |
SP LEE |
Subject: |
Re: [gnugo-devel] New owl attack pattern |
Date: |
Mon, 6 Oct 2003 13:28:52 -0700 |
> Lee wrote:
> > Pattern A719
> > # gf New pattern. (3.3.20)
> > +# spl modified (3.5.2)
> >
> > -?XXO reduce eye space
> > -X.*X
> > -?XX.
> > +XXO? reduce eye space
> > +.*XO
> > +XX.O
>
> This change is not without problems. Now A719 would no longer match in
> this position:
>
> XXXOOO
> X..XXO
> OXX.OO
> OOOOO.
>
> /Gunnar
>
Thanks for the comments. How about the following modified version of
this patch? I think it's important to get the pattern get matched first,
then let the owl analysis to check the possible follow-up results. So I
didn't add more contraints to it.
SP Lee
Index: owl_attackpats.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/owl_attackpats.db,v
retrieving revision 1.94
diff -u -r1.94 owl_attackpats.db
--- owl_attackpats.db 21 Aug 2003 10:45:52 -0000 1.94
+++ owl_attackpats.db 6 Oct 2003 20:27:26 -0000
@@ -2712,18 +2712,20 @@
Pattern A719
# gf New pattern. (3.3.20)
+# spl modified (3.5.2)
-?XXO reduce eye space
-X.*X
-?XX.
+XXO reduce eye space
+.*X
+XX.
:8,s,value(50)
-?XXc
-Xa*X
-?XXb
+BBE
+c*X
+AAd
-;owl_mineye(*)==1 && xlib(b)==2 && !attack(c) && !oplay_attack(*,a,b,b)
+;(lib(A)==3 || lib(B)==2 || oplay_attack(*,d,B)) && proper_eye(c)
+;&& lib(E) > 1
Pattern A720