evaluate_policy_tree#
- hybrid_aif.planning.evaluate_policy_tree(
- num_controls,
- controlled,
- policy_len,
- init_qs,
- transition_fn,
- step_terms,
- terminal_terms=None,
Score every policy of the grid by summing the step term trees along its path.
terminal_termsat the horizon-end beliefs is merged in once. Returns the term tree (leading per-policy axis on every leaf) and the aligned policy set,enumerate_policies(num_controls, policy_len, controlled).