public interface AbstractObjectParameterizedGroundedAction extends AbstractGroundedAction
AbstractGroundedAction
interface for grounded actions whose
parameter included references to OO-MDP ObjectInstance
s. This is a special
interface because grounded actions that have parameters references to OO-MDO ObjectInstance
s
may require special care by a planning or learning algorithm since the names of object references can change between states
that are otherwise equal (that is, states that are object identifier independent).
AbstractObjectParameterizedGroundedAction.Helper
which provides the static method AbstractObjectParameterizedGroundedAction.Helper.translateParameters(AbstractGroundedAction, burlap.oomdp.core.states.State, burlap.oomdp.core.states.State)
that can be used to reparameterize a AbstractObjectParameterizedGroundedAction
's object references
to equivalent ObjectInstance
objects in separate state with different names. See its
method documentation for more information.Modifier and Type | Interface and Description |
---|---|
static class |
AbstractObjectParameterizedGroundedAction.Helper |
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 |
java.lang.String[] |
getObjectParameters()
Returns the parameters of this
AbstractGroundedAction that correspond to OO-MDP objects. |
void |
setObjectParameters(java.lang.String[] params)
Sets the object parameters for this
AbstractGroundedAction . |
actionName, copy, getParametersAsString, initParamsWithStringRep, isParameterized
java.lang.String[] getObjectParameters()
AbstractGroundedAction
that correspond to OO-MDP objects.AbstractGroundedAction
that correspond to OO-MDP objects.void setObjectParameters(java.lang.String[] params)
AbstractGroundedAction
.params
- the object parameters to use.boolean actionDomainIsObjectIdentifierIndependent()
AbstractGroundedAction
is for a domain in which states are identifier independent; false if dependentAbstractGroundedAction
is for a domain in which states are identifier independent; false if dependent