gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Re: how to specify constraints inside pattern?


From: Evan Berggren Daniel
Subject: Re: [gnugo-devel] Re: how to specify constraints inside pattern?
Date: Sat, 5 Apr 2003 00:00:43 -0500 (EST)

When I use the SGF tracing, the fix works for me.  I'm guessing your print
statement is before the constraints are checked.  SGF tracing or other
standard debug output is the recommended way to examine these sorts of
things.

Evan Daniel

On Fri, 4 Apr 2003, kevin yong wrote:

>  --- Evan Berggren Daniel <address@hidden>
> wrote:
> > are you sure it is still this pattern
> > matching and not some
> > other pattern?  If you use the sgf traces, owl will
> > tell you which pattern
> > suggested the move.
>
> Hi, Evan:
>   thank you very much for your help.
>
>   i m quite sure it is match found for D301, because i
> insert these into collect_owl_shapes_callbacks()
> inside owl.c:
>
>   if (next_pattern->move == zStrToLoc
>     board_size,"B3")) {
>       gprintf("zzz: collect_owl_shapes_callbacks,
>         anchor = %1m, pattern= %s, move= %1m\n",
>         anchor, pattern->name, next_pattern->move);
>   }
>
> and these are i got in log file:
>
>   zzz: collect_owl_shapes_callbacks, anchor = B5,
>     pattern= D301, move= B3
>
> which clearly identify which pattern was matched for
> which worm and what's the suggested move. and from
> which function this match was found.
>
> there are few other patterns also found match for B5
> with B3:
>
>   zzz: collect_owl_shapes_callbacks, anchor = B4,
>     pattern= D1373, move= B3
>   zzz: collect_owl_shapes_callbacks, anchor = B5,
>     pattern= D301, move= B3
>   zzz: collect_owl_shapes_callbacks, anchor = B5,
>     pattern= D1383, move= B3
>   zzz: collect_owl_shapes_callbacks, anchor = C5,
>     pattern= D1343c, move= B3
>   zzz: collect_owl_shapes_callbacks, anchor = B4,
>     pattern= D1373, move= B3
>   zzz: collect_owl_shapes_callbacks, anchor = C4,
>     pattern= D309b, move= B3
>
> but all of them are clearly identified by which
> pattern, for which string.
>
> thank you again for your help. i really appreciate it.
>
> kevin.
>
>
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
>
> _______________________________________________
> gnugo-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnugo-devel
>
>




reply via email to

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