public class ModeledDomainGenerator extends java.lang.Object implements DomainGenerator
ModeledDomainGenerator.ModeledAction
class and their execution and transition dynamics should be defined by
the given model that was learned by some Model
class. To retrieve the Domain object that
was created, make a call to the generateDomain()
method.Modifier and Type | Class and Description |
---|---|
class |
ModeledDomainGenerator.ModeledAction
A class for creating an action model for some source action.
|
class |
ModeledDomainGenerator.RMaxStateAction
An action that is only executable in the ficitious RMax state and which always transitions back to the fictitious RMax state.
|
Modifier and Type | Field and Description |
---|---|
protected Domain |
modelDomain
The domain object to be returned
|
static java.lang.String |
RMAXFICTIOUSSTATEACTIONNAME
Name of the only action that can be taken from a fictitious RMAx state.
|
static java.lang.String |
RMAXFICTIOUSSTATENAME
Name of both the object class and single binary attribute used to indicate a RMax fictitious state.
|
Constructor and Description |
---|
ModeledDomainGenerator(Domain sourceDomain,
Model model,
boolean useRMaxTransitionsAndFictitousState)
Creates a new domain object that is a reflection of the input domain,
Actions are created using
the
ModeledDomainGenerator.ModeledAction class and their execution and transition dynamics should be defined by
the given model that was learned by some Model class. |
Modifier and Type | Method and Description |
---|---|
Domain |
generateDomain()
Returns a newly instanced Domain object
|
static boolean |
isRmaxFictitiousState(State s) |
public static final java.lang.String RMAXFICTIOUSSTATENAME
public static final java.lang.String RMAXFICTIOUSSTATEACTIONNAME
protected Domain modelDomain
public ModeledDomainGenerator(Domain sourceDomain, Model model, boolean useRMaxTransitionsAndFictitousState)
ModeledDomainGenerator.ModeledAction
class and their execution and transition dynamics should be defined by
the given model that was learned by some Model
class. To retrieve the Domain object that
was created, make a call to the generateDomain()
method.sourceDomain
- the source domain that the create domain will reflect.public Domain generateDomain()
DomainGenerator
generateDomain
in interface DomainGenerator
public static boolean isRmaxFictitiousState(State s)