gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] semeai question


From: Gunnar Farneback
Subject: [gnugo-devel] semeai question
Date: Fri, 30 May 2003 10:34:58 +0200
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)

Currently the semeai code is internally ko aware, but this has not
propagated externally yet. While trying to fix this I've run into the
following code in semeai.c:

      if (best_result == DEAD
          || best_result == UNKNOWN
          || (best_result == ALIVE_IN_SEKI 
              && semeai_results_first[d1][d2] != DEAD)
          || (best_result == semeai_results_first[d1][d2]
              && semeai_certain[d1][d2] > attack_certain)) {
        best_result = semeai_results_first[d1][d2];
        defense_move = semeai_move[d1][d2];
        attack_certain = semeai_certain[d1][d2];
      }

What confuses me is the combination of defense_move and
attack_certain. Why should the last line not be defense_certain?

/Gunnar




reply via email to

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