sinergym.utils.controllers.RandomController
- class sinergym.utils.controllers.RandomController(env: EplusEnv)
- __init__(env: EplusEnv)
Random agent. It selects available actions randomly.
- Parameters:
env (EplusEnv) – Simulation environment.
Methods
__init__
(env)Random agent.
act
()Selects a random action from the environment's action_space.
- act() Sequence[Any]
Selects a random action from the environment’s action_space.
- Returns:
Action chosen.
- Return type:
Sequence[Any]