public class SimpleGroundedSGAgentAction extends GroundedSGAgentAction
GroundedSGAgentAction implementation for actions that
are parameter-less.actingAgent, action| Constructor and Description |
|---|
SimpleGroundedSGAgentAction(java.lang.String actingAgent,
SGAgentAction a) |
| Modifier and Type | Method and Description |
|---|---|
GroundedSGAgentAction |
copy()
Returns a copy of this grounded action.
|
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. |
actionName, applicableInState, equals, hashCode, isParameterized, justActionString, toStringpublic SimpleGroundedSGAgentAction(java.lang.String actingAgent,
SGAgentAction a)
public GroundedSGAgentAction copy()
AbstractGroundedActioncopy in interface AbstractGroundedActioncopy in class GroundedSGAgentActionpublic void initParamsWithStringRep(java.lang.String[] params)
AbstractGroundedActionAbstractGroundedAction according
to the provided string representation of their values.params - an array in which each element is the string representation of one of this AbstractGroundedAction's valuespublic java.lang.String[] getParametersAsString()
AbstractGroundedActionAbstractGroundedAction's parametersAbstractGroundedAction's parameters