public class GymEnv<O,A,AS extends ActionSpace<A>> extends Object implements MDP<O,A,AS>
| Modifier and Type | Field and Description |
|---|---|
static String |
GYM_MONITOR_DIR |
| Constructor and Description |
|---|
GymEnv(String envId,
boolean render,
boolean monitor) |
GymEnv(String envId,
boolean render,
boolean monitor,
int[] actions) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AS |
getActionSpace() |
ObservationSpace<O> |
getObservationSpace() |
boolean |
isDone() |
GymEnv<O,A,AS> |
newInstance() |
O |
reset() |
StepReply<O> |
step(A action) |
void |
upload(String apiKey) |
public static final String GYM_MONITOR_DIR
public GymEnv(String envId, boolean render, boolean monitor)
public GymEnv(String envId, boolean render, boolean monitor, int[] actions)
public ObservationSpace<O> getObservationSpace()
getObservationSpace in interface MDP<O,A,AS extends ActionSpace<A>>public AS getActionSpace()
getActionSpace in interface MDP<O,A,AS extends ActionSpace<A>>public void upload(String apiKey)
Copyright © 2019. All rights reserved.