allenact_plugins.lighthouse_plugin.lighthouse_tasks#
LightHouseTask#
class LightHouseTask(Task[LightHouseEnvironment], abc.ABC)
Defines an abstract embodied task in the light house gridworld.
Attributes
env: The light house environment.sensor_suite: Collection of sensors formed from thesensorsargument in the initializer.task_info: Dictionary of (k, v) pairs defining task goals and other task information.max_steps: The maximum number of steps an agent can take an in the task before it is considered failed.observation_space: The observation space returned on each step from the sensors.
LightHouseTask.__init__#
| __init__(env: LightHouseEnvironment, sensors: Union[SensorSuite, List[Sensor]], task_info: Dict[str, Any], max_steps: int, **kwargs, ,) -> None
Initializer.
See class documentation for parameter definitions.