public static class ObParamSGAgentAction.GroundedObParamSGAgentAction extends GroundedSGAgentAction implements AbstractObjectParameterizedGroundedAction
AbstractObjectParameterizedGroundedAction.Helper| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
params |
actingAgent, action| Constructor and Description |
|---|
ObParamSGAgentAction.GroundedObParamSGAgentAction(java.lang.String actingAgent,
SGAgentAction a) |
ObParamSGAgentAction.GroundedObParamSGAgentAction(java.lang.String actingAgent,
SGAgentAction a,
java.lang.String[] p) |
| 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 |
GroundedSGAgentAction |
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. |
java.lang.String |
justActionString()
Returns a string specifying the action name and parameters used in this GroundedSingleAction.
|
void |
setObjectParameters(java.lang.String[] params)
Sets the object parameters for this
AbstractGroundedAction. |
java.lang.String |
toString() |
actionName, applicableInState, hashCode, isParameterizedclone, finalize, getClass, notify, notifyAll, wait, wait, waitactionName, isParameterizedpublic ObParamSGAgentAction.GroundedObParamSGAgentAction(java.lang.String actingAgent,
SGAgentAction a)
public ObParamSGAgentAction.GroundedObParamSGAgentAction(java.lang.String actingAgent,
SGAgentAction a,
java.lang.String[] p)
public java.lang.String[] getObjectParameters()
AbstractObjectParameterizedGroundedActionAbstractGroundedAction that correspond to OO-MDP objects.getObjectParameters in interface AbstractObjectParameterizedGroundedActionAbstractGroundedAction that correspond to OO-MDP objects.public 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 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 GroundedSGAgentAction copy()
AbstractGroundedActioncopy in interface AbstractGroundedActioncopy in class GroundedSGAgentActionpublic java.lang.String justActionString()
justActionString in class GroundedSGAgentActionpublic java.lang.String toString()
toString in class GroundedSGAgentActionpublic boolean equals(java.lang.Object other)
equals in class GroundedSGAgentAction