langgoap.RandomRollout

langgoap.RandomRollout#

class RandomRollout(max_depth=4, rng=<factory>, scalar_heuristic=None)[source]#

Baseline control condition — uniformly random applicable action.

rng is injected for deterministic reproducibility per the pre-registered experiment’s rollout-seed protocol.

Parameters:
__init__(max_depth=4, rng=<factory>, scalar_heuristic=None)#
Parameters:
Return type:

None

Methods

__init__([max_depth, rng, scalar_heuristic])

rollout(*, state, goal, actions)

Attributes

max_depth

rng

scalar_heuristic