aboutsummaryrefslogtreecommitdiff
path: root/include/pv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pv.h')
-rw-r--r--include/pv.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/pv.h b/include/pv.h
index 4be7b24..06455fe 100644
--- a/include/pv.h
+++ b/include/pv.h
@@ -34,9 +34,11 @@ typedef struct pv_leaf_s {
float terminal_value;
} pv_leaf_t;
-// Capture a horizon leaf (winner == 0xFF) or an exact terminal leaf
-void pv_capture_leaf(pv_leaf_t *leaf, tak_state_p state,
- enum WIN_TYPE winner);
+// Capture a horizon leaf (winner == 0xFF) or an exact terminal leaf.
+//
+// The cell indices are taken from the encoding of the most recent
+// nn_prepare_input.
+void pv_capture_leaf(pv_leaf_t *leaf, tak_state_p state, enum WIN_TYPE winner);
// Publish and retrieve the leaf selected by the full-depth root search
void pv_publish_leaf(const pv_leaf_t *leaf);