EnvironmentObjects#

class curiosity_gym.utils.dataclasses.EnvironmentObjects(agent: ~curiosity_gym.core.objects.Agent, target: ~curiosity_gym.core.objects.Target, walls: ~numpy.ndarray = <factory>, other: ~numpy.ndarray = <factory>)#

Stores grid objects placed in an environment.

Parameters:
  • agent (Agent) – Agent grid object of an environment.

  • target (Target) – Target grid object of an environment, used for navigation tasks.

  • walls (np.ndarray) – List of wall grid objects of an environment.

  • other (np.ndarray) – List of all other grid objects placed in an environment.

Methods

get_all

Returns all stored grid objects.

get_non_wall

Returns all stored grid objects, except wall objects.

Attributes

agent

target

walls

other