gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] thrashing dragons and owl threats


From: bump
Subject: Re: [gnugo-devel] thrashing dragons and owl threats
Date: Mon, 25 Oct 2004 05:50:33 -0700

> Since the default value of owl-threats is 0, owl
> threats are only evaluated for thrashing dragons.
>
> Around line 404 of dragon.c:
>
>        if (level >= 8
>            && !disable_threat_computation
>              && (owl_threats
>                 || thrashing_stone[str])) {
>
>               [compute owl threats]
>
> However thrashing dragons are not identified until
> later in make_dragons. The function identify_thrashing_dragons()
> is called at line 491.
>
> It seems to me that the value of thrashing_stone[str]
> will be left over from the previous genmove call,
> meaning that thrashing dragons will be identified a
> move late for the purposes of owl threats.

This goes back to the patch gunnar_5_5.2:

http://lists.gnu.org/archive/html/gnugo-devel/2004-01/msg00216.html

The time to run identify_thrashing_dragons() is negligible,
so maybe the best thing for 3.6 is to call it twice, once
before the owl threat code runs.

Dan




reply via email to

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