gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Connection point not seen (D1320b)


From: SP LEE
Subject: Re: [gnugo-devel] Connection point not seen (D1320b)
Date: Fri, 6 Jun 2003 11:43:31 -0700

> One way to solve this is to modify owl_strong_dragon, in such a way
> that P14 in this position gets considered strong. You could use the
> dragon.safety or the dragon.weakness field to get a better criterion
> than the 2 eyes-check.
> 
> Arend

The following patch is a conservative solution to my problem. There should be 
no changes in regression tests.

SP Lee

Index: owl.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/owl.c,v
retrieving revision 1.166
diff -u -r1.166 owl.c
--- owl.c 4 Jun 2003 19:16:46 -0000 1.166
+++ owl.c 6 Jun 2003 18:37:59 -0000
@@ -5312,7 +5312,7 @@
   
   return (!current_owl_data->goal[pos]
    && dragon[pos].color == board[pos]
-   && min_eyes(&DRAGON2(pos).genus) >= 2);
+   && dragon[pos].crude_status == ALIVE);
 }





reply via email to

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