Ticket #127: reading-fourlib.diff
| File reading-fourlib.diff, 0.9 kB (added by alain, 2 years ago) |
|---|
-
engine/reading.c
old new 1272 1272 { 1273 1273 int color = board[str]; 1274 1274 int j, k, l; 1275 int goal_liberties = (stackp < fourlib_depth ? 5 : 4);1275 int goal_liberties = (stackp <= fourlib_depth ? 5 : 4); 1276 1276 int adj, adjs[MAXCHAIN]; 1277 1277 1278 1278 /* We would like to initialize liberty_mark to -1, but some … … 1399 1399 * If the reading ply (stackp) is deeper than the deep-reading cutoff 1400 1400 * parameter depth, whose default value DEPTH is defined in gnugo.h, then a 1401 1401 * string is assumed alive if it can get 3 liberties. When 1402 * fourlib_depth < stackp < depth, a string is considered alive if it can get1403 * four liberties. When stackp < fourlib_depth, it is considered alive1402 * fourlib_depth < stackp <= depth, a string is considered alive if it can get 1403 * four liberties. When stackp <= fourlib_depth, it is considered alive 1404 1404 * if it can get 5 liberties. 1405 1405 * */ 1406 1406
