[Top][All Lists]

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

[gnugo-devel] thrashing dragons and owl threats

From: bump
Subject: [gnugo-devel] thrashing dragons and owl threats
Date: Sun, 24 Oct 2004 07:17:17 -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.


reply via email to

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