habit_planner#
- hybrid_aif.planning.habit_planner(ctx, use_bound='midpoint', metrics=True)[source]#
The
Plannerface of this module.Returns
(q_pi, tree, policies). For a policy module the policy set is the one sampled plan andq_pia point mass on it; for a vector E the policy set is the enumeration andq_piis E. The module case draws fromkey; the vector case ignores it.metrics=Truereturns{},FalsereturnsNone;use_boundis unused.