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, isParameterized
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
actionName, isParameterized
public 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()
AbstractObjectParameterizedGroundedAction
AbstractGroundedAction
that correspond to OO-MDP objects.getObjectParameters
in interface AbstractObjectParameterizedGroundedAction
AbstractGroundedAction
that correspond to OO-MDP objects.public void setObjectParameters(java.lang.String[] params)
AbstractObjectParameterizedGroundedAction
AbstractGroundedAction
.setObjectParameters
in interface AbstractObjectParameterizedGroundedAction
params
- the object parameters to use.public boolean actionDomainIsObjectIdentifierIndependent()
AbstractObjectParameterizedGroundedAction
AbstractGroundedAction
is for a domain in which states are identifier independent; false if dependentactionDomainIsObjectIdentifierIndependent
in interface AbstractObjectParameterizedGroundedAction
AbstractGroundedAction
is for a domain in which states are identifier independent; false if dependentpublic void initParamsWithStringRep(java.lang.String[] params)
AbstractGroundedAction
AbstractGroundedAction
according
to the provided string representation of their values.initParamsWithStringRep
in interface AbstractGroundedAction
params
- an array in which each element is the string representation of one of this AbstractGroundedAction
's valuespublic java.lang.String[] getParametersAsString()
AbstractGroundedAction
AbstractGroundedAction
's parametersgetParametersAsString
in interface AbstractGroundedAction
AbstractGroundedAction
's parameterspublic GroundedSGAgentAction copy()
AbstractGroundedAction
copy
in interface AbstractGroundedAction
copy
in class GroundedSGAgentAction
public java.lang.String justActionString()
justActionString
in class GroundedSGAgentAction
public java.lang.String toString()
toString
in class GroundedSGAgentAction
public boolean equals(java.lang.Object other)
equals
in class GroundedSGAgentAction