langgoap.RolloutPolicy#
- class RolloutPolicy(*args, **kwargs)[source]#
Pluggable rollout policy Protocol.
Implementations simulate forward from
statefor at mostmax_depthsteps, returning a scalar reward in the[-1.0, +1.0]range defined by_shape_reward().- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)rollout(*, state, goal, actions)