[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] minor cleaning
From: |
Paul Pogonyshev |
Subject: |
[gnugo-devel] minor cleaning |
Date: |
Fri, 20 Sep 2002 12:44:35 +0300 |
this patch deletes a couple of now unnecessary lines from dragon.c
which i forgot to delete when finished with sgf revising.
actually, i wanted to know what you think about this:
owl always consider only one vital point per eyespace because
compute_eyes() and compute_eyes_pessimistic() return only one
attack/defense point. maybe it would be useful to consider several
vital points if we have single eyespace, like in the position we
discussed on nngs some days ago:
!.XX..!
here white has no chance to survive if he picks up left marginal
vertice, but has such a chance if he tries the right one.
should i try this?
Paul
Index: gnugo/engine/dragon.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/dragon.c,v
retrieving revision 1.78
diff -u -r1.78 dragon.c
--- gnugo/engine/dragon.c 18 Sep 2002 15:10:01 -0000 1.78
+++ gnugo/engine/dragon.c 20 Sep 2002 09:30:02 -0000
@@ -295,15 +295,10 @@
/* Determine status: ALIVE, DEAD, CRITICAL or UNKNOWN */
for (str = BOARDMIN; str < BOARDMAX; str++)
- if (ON_BOARD(str)) {
+ if (ON_BOARD(str))
if (dragon[str].origin == str && board[str]) {
dragon[str].crude_status = compute_crude_status(str);
- /* FIXME: delete this once all sgf output goes through trees */
-#if 0
- sgffile_dragon_status(I(str), J(str), dragon[str].crude_status);
-#endif
}
- }
time_report(2, " compute_crude_status", NO_MOVE, 1.0);
/* We must update the dragon status at every intersection before we
- [gnugo-devel] minor cleaning,
Paul Pogonyshev <=