sinergym.utils.controllers.RandomController

class sinergym.utils.controllers.RandomController(env: Any)
__init__(env: Any)

Random agent. It selects available actions randomly.

Parameters:

env (Any) – 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]