[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] arend_3_20.8 and EB1401
From: |
Arend Bayer |
Subject: |
Re: [gnugo-devel] arend_3_20.8 and EB1401 |
Date: |
Sat, 21 Jun 2003 13:30:19 +0200 (CEST) |
I wrote:
> Paul wrote:
>
> > some changes went in with this patch are bogus:
> >
> > Pattern EB1403
> > # gf Revised pattern. (3.1.3)
> > # gf Revised constraint. (3.3.13)
> > # ab Removed followup value (handled by influence code). (3.3.20) <<<
> >
> > ?oX?? sente hane
> > ..XO?
> > ?.*.o
> > -----
> >
> > :8,Xe
> >
> > ?oD??
> > b.Da?
> > ?.*..
> > -----
> >
> > see move valuation in the attached game (current cvs - gnugo 3.2) at move
> > 91:
> >
> > C1: 2.00 - change in territory
> > C1: 0.00 - total followup value, added 0.00 as territorial followup
> > C1: 0.08 - connects strings (connect value 2, shape factor 0.040)
> > Move generation values C1 to 2.08
> > T17: 2.00 - change in territory
> > T17: 0.00 - total followup value, added 0.00 as territorial followup
> > T17: 0.08 - connects strings (connect value 2, shape factor 0.040)
> > Move generation values T17 to 2.08
> >
(...)
> I will try to find out why the influence code doesn't finde the followup
> value in these cases.
This patch fixes that. The reason was that Intrusion1 couldn't match in
such corner positions.
If someone has free CPU cycles to give this a regression run, that'd be
extremely helpful (mine are busy with one more break-in patch).
Arend
(The problem was that this one-line hane didn't get it's deserved
follow-up value:
|..X?
|..XO
|..*.
+----
Fairly frequent, so this patch is important.
Probably I was caught here by a lack of tests since endgame1.sgf got
removed from CVS.)
Index: patterns/barriers.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/barriers.db,v
retrieving revision 1.54
diff -u -p -r1.54 barriers.db
--- patterns/barriers.db 27 May 2003 08:48:24 -0000 1.54
+++ patterns/barriers.db 21 Jun 2003 11:26:28 -0000
@@ -1013,6 +1013,24 @@ Pattern Intrusion1
>return (lib(a)>2 || (lib(a) == 2 && connect_and_cut_helper(a,b,c)));
+Pattern Intrusion1a
+
+|??x
+|!!X
+|..Q
++---
+
+:8,B,value(30)
+
+|??x
+|.cX
+|.ba
++---
+
+;safe_omove(c)
+>return (lib(a)>2 || (lib(a) == 2 && connect_and_cut_helper(a,b,c)));
+
+
Pattern Intrusion1b
xxxx
- Re: [gnugo-devel] arend_3_20.8 and EB1401,
Arend Bayer <=