protected class RLGlueEnvironment.ActionIndexParameterization
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Action |
action
The BURLAP action
|
int[] |
params
The parameters of the action specified as indecies into a state
|
| Constructor and Description |
|---|
RLGlueEnvironment.ActionIndexParameterization(GroundedAction ga,
State srcState)
Constructs from a grounded action
|
| Modifier and Type | Method and Description |
|---|---|
GroundedAction |
generateGroundedActionForState(State s)
Returns a grounded action for a given state by finding the object instance names for the objects in the positions of this objects
parameter indcies.
|
public Action action
public int[] params
public RLGlueEnvironment.ActionIndexParameterization(GroundedAction ga, State srcState)
ga - the grounded action to convertsrcState - the source state from which the grounded action was generatedpublic GroundedAction generateGroundedActionForState(State s)
s - the state for which a grounded action should be returned