in pachi_py/pachi/uct/walk.c [451:461]
LTREE_DEBUG fprintf(stderr, "recording local %s sequence: ",
stone2str(seq_color));
/* Sequences starting deeper are less relevant in general. */
int pval = LTREE_PLAYOUTS_MULTIPLIER;
if (u->local_tree && u->local_tree_depth_decay > 0)
pval = ((floating_t) pval) / pow(u->local_tree_depth_decay, di - 1);
if (!pval) {
LTREE_DEBUG fprintf(stderr, "too deep @%d\n", di);
return;
}