public abstract class OOMDPState extends java.lang.Object implements State
| Constructor and Description |
|---|
OOMDPState() |
| Modifier and Type | Method and Description |
|---|---|
State |
renameObject(java.lang.String originalName,
java.lang.String newName)
Renames the identifier for the object instance currently named originalName with the name newName.
|
<T> State |
setObjectsValue(java.lang.String objectName,
java.lang.String attName,
T value)
Sets an object's value.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAllObjects, addObject, copy, getAllObjects, getAllObjectsByClass, getAllUnsetAttributes, getCompleteStateDescription, getCompleteStateDescriptionWithUnsetAttributesAsNull, getFirstObjectOfClass, getObject, getObjectClassesPresent, getObjectMatchingTo, getObjectsOfClass, getPossibleBindingsGivenParamOrderGroups, numTotalObjects, removeAllObjects, removeObject, removeObject, renameObjectpublic java.lang.String toString()
toString in class java.lang.Objectpublic State renameObject(java.lang.String originalName, java.lang.String newName)
renameObject in interface StateoriginalName - the original name of the object instance to be renamed in this statenewName - the new name of the object instancepublic <T> State setObjectsValue(java.lang.String objectName, java.lang.String attName, T value)
setObjectsValue in interface Statejava.lang.RuntimeException - if the object doesn't exist, or the attribute name doesn't exist for the object.