[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] reading problem
From: |
Portela Fernand |
Subject: |
[gnugo-devel] reading problem |
Date: |
Wed, 27 Nov 2002 13:14:17 +0100 |
Around line 5509 of reading.c following can be found
/* ...and store it in the cache.
* FIXME: Only store result in cache when we're working at
* full depth.
*
* Comment: This is currently not a problem since no reduced depth
* reading is performed.
*/
Well, about the above comment, I would say it isn't true. There's a
decrease_depth_values();
line in compute_initial_influence(). I don't know what to do about it, but
I know that it has this effect : after changing a pattern value in
owl_attackpats.db, a regression test gets broken. In the debug output,
following can be noticed :
Before :
white permeability:
1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
1.0 0.6 0.2 0.2 0.4 0.3 0.6 1.0 1.0
^^^
0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0
1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0
1.0 1.0 0.6 1.0 0.6 0.3 0.0 0.0 0.0
1.0 1.0 1.0 1.0 1.0 0.6 0.0 0.6 1.0
1.0 1.0 1.0 1.0 1.0 1.0 0.7 1.0 1.0
1.0 1.0 1.0 1.0 1.0 1.0 0.7 1.0 1.0
white influence (dragons_known):
0.1 0.2 0.5 1.2 2.2 1.3 0.6 0.3 0.1
0.0 0.1 0.4 1.8 5.1 1.9 0.6 0.2 0.1
0.0 0.0 0.2 7.2 29.2 7.2 0.4 0.1 0.0
0.0 0.0 X X O X 0.0 0.0 0.0
1.0 2.3 11.2 X O 48.6 0.0 0.0 0.0
3.4 7.9 29.2 O 58.3 19.1 X 0.0 0.0
2.9 5.9 17.4 31.5 25.1 8.8 2.0 0.0 0.0
2.6 5.4 7.8 13.9 10.5 6.7 2.4 0.4 0.1
2.0 3.1 4.4 6.5 5.5 3.8 2.2 0.7 0.2
After:
white permeability:
1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
1.0 0.6 0.2 0.2 0.0 0.3 0.6 1.0 1.0
^^^
0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0
1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0
1.0 1.0 0.6 1.0 0.6 0.3 0.0 0.0 0.0
1.0 1.0 1.0 1.0 1.0 0.6 0.0 0.6 1.0
1.0 1.0 1.0 1.0 1.0 1.0 0.7 1.0 1.0
1.0 1.0 1.0 1.0 1.0 1.0 0.7 1.0 1.0
white influence (dragons_known):
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 29.2 0.0 0.0 0.0 0.0
0.0 0.0 X X O X 0.0 0.0 0.0
1.0 2.3 11.2 X O 48.6 0.0 0.0 0.0
3.4 7.9 29.2 O 58.3 19.1 X 0.0 0.0
2.9 5.9 17.4 31.5 25.1 8.8 2.0 0.0 0.0
2.6 5.4 7.8 13.9 10.5 6.7 2.4 0.4 0.1
2.0 3.1 4.4 6.5 5.5 3.8 2.2 0.7 0.2
The owl results are strictly identical, though the reading is different,
due to different variations tried.
How should this issue be addressed IYO ?
/nando
- [gnugo-devel] reading problem,
Portela Fernand <=