gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] whose_moyo vs whose_moyo_restricted


From: Gunnar Farneback
Subject: Re: [gnugo-devel] whose_moyo vs whose_moyo_restricted
Date: Sat, 10 Nov 2001 15:15:22 +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)

Arend wrote:
> static int
> whose_moyo(struct influence_data *q, int m, int n)
> (...)
>   if (bi > 7.0 * wi && bi > 5.0 && wi < 10.0)
>     return BLACK;
> (...)
> 
> static int
> whose_moyo_restricted(struct influence_data *q, int m, int n)
> (...)
> if ((bi > 10.0 * wi && bi > 10.0 && wi < 10.0) || bi > 25.0 * wi)
>     color = BLACK;
> (...)
> 
> Is this difference intentional? The comment preceding whose_moyo_restricted
> seems to imply no.

Yes, I think the difference is intentional since those functions are
used for somewhat different purposes. The preceding comments could
probably be improved.

/Gunnar



reply via email to

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