public class SimpleGroundedAction extends GroundedAction
GroundedAction implementation for actions that have no parameters.action| Constructor and Description |
|---|
SimpleGroundedAction(Action action) |
| Modifier and Type | Method and Description |
|---|---|
GroundedAction |
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, executeIn, executeIn, getTransitions, hashCode, isParameterized, toString, translateParameterspublic SimpleGroundedAction(Action action)
public 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 parameterspublic GroundedAction copy()
AbstractGroundedActioncopy in interface AbstractGroundedActioncopy in class GroundedAction