View Source Rein.Environments.Gridworld (rein v0.1.0)

Gridworld environment with 4 discrete actions.

Gridworld is an environment where the agent aims to reach a given target from a collection of possible targets, only being able to choose 1 of 4 actions: up, down, left and right.

Summary

Functions

Default function for turning the environment into a vector representation.

The size of the state vector returned by as_state_vector/1

Functions

Default function for turning the environment into a vector representation.

The size of the state vector returned by as_state_vector/1