public static class ObjectParameterizedAction.ObjectParameterizedGroundedAction extends GroundedAction implements AbstractObjectParameterizedGroundedAction
AbstractObjectParameterizedGroundedAction.Helper| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
params |
action| Constructor and Description |
|---|
ObjectParameterizedAction.ObjectParameterizedGroundedAction(Action action) |
ObjectParameterizedAction.ObjectParameterizedGroundedAction(Action action,
java.lang.String[] params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
actionDomainIsObjectIdentifierIndependent()
Returns true if this
AbstractGroundedAction is for a domain in which states are identifier independent; false if dependent |
GroundedAction |
copy()
Returns a copy of this grounded action.
|
boolean |
equals(java.lang.Object other) |
java.lang.String[] |
getObjectParameters()
Returns the parameters of this
AbstractGroundedAction that correspond to OO-MDP objects. |
java.lang.String[] |
getParametersAsString()
Returns an array of string representations of this
AbstractGroundedAction's parameters |
void |
initParamsWithStringRep(java.lang.String[] params)
Initializes the parameter values of this
AbstractGroundedAction according
to the provided string representation of their values. |
void |
setObjectParameters(java.lang.String[] params)
Sets the object parameters for this
AbstractGroundedAction. |
java.lang.String |
toString() |
actionName, applicableInState, executeIn, executeIn, getTransitions, hashCode, isParameterized, translateParametersclone, finalize, getClass, notify, notifyAll, wait, wait, waitactionName, isParameterizedpublic ObjectParameterizedAction.ObjectParameterizedGroundedAction(Action action)
public ObjectParameterizedAction.ObjectParameterizedGroundedAction(Action action, java.lang.String[] params)
public java.lang.String[] getObjectParameters()
AbstractObjectParameterizedGroundedActionAbstractGroundedAction that correspond to OO-MDP objects.getObjectParameters in interface AbstractObjectParameterizedGroundedActionAbstractGroundedAction that correspond to OO-MDP objects.public void initParamsWithStringRep(java.lang.String[] params)
AbstractGroundedActionAbstractGroundedAction according
to the provided string representation of their values.initParamsWithStringRep in interface AbstractGroundedActionparams - an array in which each element is the string representation of one of this AbstractGroundedAction's valuespublic java.lang.String[] getParametersAsString()
AbstractGroundedActionAbstractGroundedAction's parametersgetParametersAsString in interface AbstractGroundedActionAbstractGroundedAction's parameterspublic void setObjectParameters(java.lang.String[] params)
AbstractObjectParameterizedGroundedActionAbstractGroundedAction.setObjectParameters in interface AbstractObjectParameterizedGroundedActionparams - the object parameters to use.public boolean actionDomainIsObjectIdentifierIndependent()
AbstractObjectParameterizedGroundedActionAbstractGroundedAction is for a domain in which states are identifier independent; false if dependentactionDomainIsObjectIdentifierIndependent in interface AbstractObjectParameterizedGroundedActionAbstractGroundedAction is for a domain in which states are identifier independent; false if dependentpublic java.lang.String toString()
toString in class GroundedActionpublic boolean equals(java.lang.Object other)
equals in class GroundedActionpublic GroundedAction copy()
AbstractGroundedActioncopy in interface AbstractGroundedActioncopy in class GroundedAction