OODomain.Helper
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,PropositionalFunction> |
propFunctionMap |
protected java.util.Map<java.lang.String,java.lang.Class<?>> |
stateClassesMap |
Constructor and Description |
---|
OOSGDomain() |
Modifier and Type | Method and Description |
---|---|
OOSGDomain |
addPropFunction(PropositionalFunction prop)
Add a propositional function that can be used to evaluate objects that belong to object classes
of this domain.
|
OOSGDomain |
addStateClass(java.lang.String className,
java.lang.Class<?> stateClass)
Adds the Java class definition for an OO-MDP class with the given name
|
PropositionalFunction |
propFunction(java.lang.String name)
Returns the
PropositionalFunction with the given name |
java.util.List<PropositionalFunction> |
propFunctions()
Returns a list of the propositional functions that define this domain.
|
java.lang.Class<?> |
stateClass(java.lang.String className)
Returns the Java class used to define an OO-MDP object class with the given name.
|
java.util.List<java.lang.Class<?>> |
stateClasses()
Returns the Java classes used to define OO-MDP object classes.
|
addActionType, getActionType, getActionTypes, getJointActionModel, setJointActionModel
protected java.util.Map<java.lang.String,java.lang.Class<?>> stateClassesMap
protected java.util.Map<java.lang.String,PropositionalFunction> propFunctionMap
public java.util.List<java.lang.Class<?>> stateClasses()
OODomain
stateClasses
in interface OODomain
public java.lang.Class<?> stateClass(java.lang.String className)
OODomain
stateClass
in interface OODomain
className
- the name of the OO-MDP class.public OOSGDomain addStateClass(java.lang.String className, java.lang.Class<?> stateClass)
OODomain
addStateClass
in interface OODomain
className
- the OO-MDP class namestateClass
- the Java class used to define itpublic java.util.List<PropositionalFunction> propFunctions()
OODomain
propFunctions
in interface OODomain
public PropositionalFunction propFunction(java.lang.String name)
OODomain
PropositionalFunction
with the given namepropFunction
in interface OODomain
name
- the name of the PropositionalFunction
PropositionalFunction
with the given namepublic OOSGDomain addPropFunction(PropositionalFunction prop)
OODomain
addPropFunction
in interface OODomain
prop
- the propositional function to add.OODomain