evaluate_policy_tree_total#
- hybrid_aif.planning.evaluate_policy_tree_total(
- num_controls,
- controlled,
- policy_len,
- init_qs,
- transition_fn,
- step_terms,
- terminal_terms=None,
Score every policy of the grid straight to its G, one Interval per node.
The metrics-free sibling of
evaluate_policy_tree(): each level’s step tree is folded withtotal()and added to the parent’s G (an empty level passes it through), then the terminal terms. Seeded with the step tree’s staticderivedandapproximateflags. Returns the per-policy G and the aligned policy set.