A domain generator for basic grid worlds.
This class is used for defining reward functions in grid worlds that are a function of cell of the world to which the agent transitions.
This class is used for setting a terminal function for GridWorlds that is based on the location of the agent in the world.
Returns a visualizer for grid worlds in which walls are rendered as black squares or black lines, the agent is a gray circle and the location objects are colored squares.
A painter for a grid world cell which will fill the cell with a given color and where the cell position is indicated by the x and y attribute for the mapped object instance
A painter for location objects which will fill the cell with a given color and where the cell position is indicated by the x and y attribute for the mapped object instance
A static painter class for rendering the walls of the grid world as black squares or black lines for 1D walls.