|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinpro.dm.isu.AbstractUpdateEngine
inpro.dm.isu.IUNetworkUpdateEngine
public class IUNetworkUpdateEngine
A rule-based update engine that keeps a set of rules and an information state to apply its rules to. Keeps a list output IU edits to interface with a dialogue manager.
Field Summary | |
---|---|
private java.util.List<EditMessage<DialogueActIU>> |
edits
The IU edits to return on request |
private IUNetworkInformationState |
is
The information state to update |
private org.apache.log4j.Logger |
logger
The logger |
Fields inherited from class inpro.dm.isu.AbstractUpdateEngine |
---|
rules |
Constructor Summary | |
---|---|
IUNetworkUpdateEngine(IUNetworkDomainUtil u)
A simple constructor initiating an empty information state and a generic top-down search update mechanism producing GROUND, CLARIFY and REQUEST output. |
Method Summary | |
---|---|
void |
applyRules()
Applies all rules that trigger to the information state, in the order in which they were loaded. |
void |
applyRules(SemIU iu)
Sets the input word on the information state and calls the update rules. |
IUNetworkInformationState |
getInformationState()
Getter for the information state. |
java.util.List<EditMessage<DialogueActIU>> |
getNewEdits()
Getter method for output edits. |
void |
setLogger(org.apache.log4j.Logger logger)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private IUNetworkInformationState is
private java.util.List<EditMessage<DialogueActIU>> edits
private org.apache.log4j.Logger logger
Constructor Detail |
---|
public IUNetworkUpdateEngine(IUNetworkDomainUtil u)
Method Detail |
---|
public void setLogger(org.apache.log4j.Logger logger)
public java.util.List<EditMessage<DialogueActIU>> getNewEdits()
public IUNetworkInformationState getInformationState()
public void applyRules(SemIU iu)
iu
- the input word IUpublic void applyRules()
applyRules
in class AbstractUpdateEngine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |