public abstract class MalmoActionSpace extends DiscreteSpace
Modifier and Type | Field and Description |
---|---|
protected String[] |
actions
Array of action strings that will be sent to Malmo
|
rnd, size
Modifier | Constructor and Description |
---|---|
protected |
MalmoActionSpace(int size)
Protected constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
encode(Integer action) |
Integer |
noOp() |
randomAction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSize
protected String[] actions
protected MalmoActionSpace(int size)
size
- number of discrete actions in this spacepublic Object encode(Integer action)
encode
in interface ActionSpace<Integer>
encode
in class DiscreteSpace
public Integer noOp()
noOp
in interface ActionSpace<Integer>
noOp
in class DiscreteSpace
Copyright © 2020. All rights reserved.