|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface RMRSComposer.Resolver
Interface to call whenever a Formula needs to check if its relations resolve with something in the world.
Method Summary | |
---|---|
int |
resolves(Formula f)
A resolve method called whenever a new FormulaIU is created to determine if its relations resolve something in the world. |
int |
resolvesObject(Formula f,
java.lang.String id)
A resolve method called to determine if a particular object, identified by a string argument, was among the domain objects that resolved (or indeed the only one that did) Implementers need to make sure that comparison of the string representation and domain objects takes place. |
java.util.Map<java.lang.Integer,java.util.List<? extends java.lang.Object>> |
resolvesObjects(Formula f)
A resolve method called whenever a new Formula is created to determine what domain concepts it resolves in the world. |
void |
setPerformDomainAction(boolean action)
A setter called to turn off/on domain actions. |
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable |
---|
newProperties |
Method Detail |
---|
int resolves(Formula f)
f
- the formula
java.util.Map<java.lang.Integer,java.util.List<? extends java.lang.Object>> resolvesObjects(Formula f)
f
- the formula
int resolvesObject(Formula f, java.lang.String id)
f
- the formulaid
- a string representation of the object
void setPerformDomainAction(boolean action)
action
- on or off
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |