branching_tree_memory

branching_tree_memory#

hybrid_aif.planning.branching_tree_memory(system, params, beliefs, memory_budget=None)[source]#

The memory of system’s sophisticated tree at beliefs, estimated, and what memory_budget (bytes) would choose; nothing is evaluated.

The planner context is built as planner_context() builds it, and the numbers are those make_sophisticated_planner() uses with the same budget, so a caller runs this once at setup to see the tree’s memory, then pins what it chose with make_sophisticated_planner(split_depth=..., batch_size=...). The estimate errs high.