public class SGDomain extends java.lang.Object implements Domain
Domain
class
by including an index for possible actions each individual agent can take and the joint action model that defines the
"physics" of the domain.Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,ActionType> |
actionMap
A map from action type names to their corresponding
ActionType |
protected JointModel |
jam
The joint action model of the domain
|
Constructor and Description |
---|
SGDomain() |
Modifier and Type | Method and Description |
---|---|
SGDomain |
addActionType(ActionType actionType) |
ActionType |
getActionType(java.lang.String name) |
java.util.List<ActionType> |
getActionTypes() |
JointModel |
getJointActionModel()
Returns the joint action model associated with this domain.
|
void |
setJointActionModel(JointModel jam)
Sets the joint action model associated with this domain.
|
protected java.util.Map<java.lang.String,ActionType> actionMap
ActionType
protected JointModel jam
public void setJointActionModel(JointModel jam)
jam
- the joint action model to associate with this domain.public JointModel getJointActionModel()
public SGDomain addActionType(ActionType actionType)
public java.util.List<ActionType> getActionTypes()
public ActionType getActionType(java.lang.String name)