Random#
- class statrl.settings.markovdecisionprocess.discrete_nostructure.agents._Random.Random(env)[source]#
Bases:
MDPAgentUniform exploration: take a random action in every state.
- Parameters:
env (DiscreteMDP) – The environment, whose
action_spacesupplies the draws.
Methods
__init__(env)play(state)Draw an action uniformly at random, ignoring the state.
reset(inistate)Start a new run.
update(state, action, reward, observation)Ignore the transition — this agent does not learn.