public static class ObjectParameterizedActionType.SAObjectParameterizedAction extends java.lang.Object implements ObjectParameterizedAction
Action
that has parameters specifying the name of ObjectInstance
s
to which it is applied.Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
java.lang.String[] |
params |
Constructor and Description |
---|
SAObjectParameterizedAction() |
SAObjectParameterizedAction(java.lang.String name,
java.lang.String[] params) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
actionName()
Returns the action name for this grounded action.
|
Action |
copy()
Returns a copy of this grounded action.
|
boolean |
equals(java.lang.Object other) |
java.lang.String[] |
getObjectParameters()
Returns the parameters of this
Action that correspond to OO-MDP objects. |
int |
hashCode() |
void |
setObjectParameters(java.lang.String[] params)
Sets the object parameters for this
Action . |
java.lang.String |
toString() |
public SAObjectParameterizedAction()
public SAObjectParameterizedAction(java.lang.String name, java.lang.String[] params)
public java.lang.String[] getObjectParameters()
ObjectParameterizedAction
Action
that correspond to OO-MDP objects.getObjectParameters
in interface ObjectParameterizedAction
Action
that correspond to OO-MDP objects.public void setObjectParameters(java.lang.String[] params)
ObjectParameterizedAction
Action
.setObjectParameters
in interface ObjectParameterizedAction
params
- the object parameters to use.public java.lang.String actionName()
Action
actionName
in interface Action
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object