|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.indiana.iucbrf.ccbr.conversationblock.selector.flowchart.FlowChartConversationBlockSelector
public class FlowChartConversationBlockSelector
A ConversationBlockSelector that is based on a FlowChart.
Field Summary |
---|
Fields inherited from interface edu.indiana.util.swing.SwingRepresentable |
---|
TITLE_FONT |
Constructor Summary | |
---|---|
protected |
FlowChartConversationBlockSelector()
Creates a new instance of FlowChartConversationBlockSelector |
|
FlowChartConversationBlockSelector(FlowChart flowChart)
Creates a new instance of FlowChartConversationBlockSelector |
Method Summary | |
---|---|
FlowChart |
getFlowChart()
|
ConversationBlock |
getNextBlock(Problem problemSoFar,
RetrievalResults casesUnderConsideration,
CCBRDomain domain)
The conversation block returned should not be a question to which problemSoFar already has an answer. |
FeatureKey |
getNextFeatureKey(Problem problemSoFar,
RetrievalResults casesUnderConsideration,
CCBRDomain domain)
|
void |
initConversation(Problem initialProblem)
Reset the state of the conversation block selector and prepare for a new conversation on the given problem. |
void |
reset()
Return the state of this question selector to the beginning of the flow chart. |
javax.swing.JComponent |
toSwing(Domain domain)
|
javax.swing.JComponent |
toSwing(int detailLevel)
Detail level may be ignored by implementations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FlowChartConversationBlockSelector()
public FlowChartConversationBlockSelector(FlowChart flowChart)
Method Detail |
---|
public FlowChart getFlowChart()
public ConversationBlock getNextBlock(Problem problemSoFar, RetrievalResults casesUnderConsideration, CCBRDomain domain)
ConversationBlockSelector
getNextBlock
in interface ConversationBlockSelector
public FeatureKey getNextFeatureKey(Problem problemSoFar, RetrievalResults casesUnderConsideration, CCBRDomain domain)
getNextFeatureKey
in interface ConversationBlockSelector
public void reset()
reset
in interface ConversationBlockSelector
public void initConversation(Problem initialProblem)
ConversationBlockSelector
initConversation
in interface ConversationBlockSelector
public javax.swing.JComponent toSwing(Domain domain)
toSwing
in interface SwingRepresentableWithDomain
public javax.swing.JComponent toSwing(int detailLevel)
SwingRepresentable
toSwing
in interface SwingRepresentable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |