langgoap.RandomRollout#
- class RandomRollout(max_depth=4, rng=<factory>, scalar_heuristic=None)[source]#
Baseline control condition — uniformly random applicable action.
rngis injected for deterministic reproducibility per the pre-registered experiment’s rollout-seed protocol.- Parameters:
max_depth (int)
rng (Random)
scalar_heuristic (ScalarHeuristic | None)
- __init__(max_depth=4, rng=<factory>, scalar_heuristic=None)#
- Parameters:
max_depth (int)
rng (Random)
scalar_heuristic (ScalarHeuristic | None)
- Return type:
None
Methods
__init__([max_depth, rng, scalar_heuristic])rollout(*, state, goal, actions)Attributes
max_depthrngscalar_heuristic