enumerate_policies#
- hybrid_aif.planning.enumerate_policies(num_controls, policy_len, controlled=None)[source]#
Exhaustive policy matrix, int32
(num_policies, policy_len, len(num_controls)).One column per entry of
num_controls(a System passes one per control node). Ordering matches pymdp’sconstruct_policies: time-major, the last column at the last timestep varying fastest. A columncontrolledmarksFalsecontributes only level 0. Memoised on its arguments.