BranchingTreeMemory#
- class hybrid_aif.planning.BranchingTreeMemory[source]#
Bases:
NamedTupleThe memory of the sophisticated planner’s tree, estimated. All fields but the first are
Nonewithout a budget.- split_depth: int | None#
Given a budget, the split depth
chunk_choice()would choose (Nonewhen the whole level fits).
- batch_size: int | None#
Given a budget, the batch size
chunk_choice()would choose (Nonewhen the whole level fits).
- static __new__(
- _cls,
- whole_level_bytes,
- split_depth,
- batch_size,
- estimated_bytes,
Create new instance of BranchingTreeMemory(whole_level_bytes, split_depth, batch_size, estimated_bytes)