DavidNKraemer / SoCG21

Stony Brook University operations research graduate students' project for the 37th international Symposium on Computational Geometry (SoCG)
1 stars 0 forks source link

What is BoardEnv's state? #6

Closed wessle closed 3 years ago

wessle commented 3 years ago
>>> import numpy as np
>>> from src.envs import BoardEnv
>>> starts, targets, obstacles = np.array([[0, 0]]), np.array([[5, 5]]), np.array([[]])
>>> env = BoardEnv(starts, targets, obstacles)
>>> state = env.reset()
>>> state
array([0., 0., 5., 5., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0.,
       0., 0., 0., 0., 0.])
>>> len(state)
22

Question

What is state?