edu.indiana.iucbrf.ccbr.conversationblock.selector
Interface ConversationBlockSelector

All Superinterfaces:
java.io.Serializable, SwingRepresentable, SwingRepresentableWithDomain
All Known Implementing Classes:
AbstractConversationBlockSelector, ConfidenceConversationBlockSelector, DistanceInfluenceConversationBlockSelector, EnsembleConversationBlockSelector, FlowChartConversationBlockSelector, FrequencyConversationBlockSelector, GainRatioConversationBlockSelector, ImportanceMeasureConversationBlockSelector, InformationGainConversationBlockSelector, OrderedConversationBlockSelector, RandomConversationBlockSelector

public interface ConversationBlockSelector
extends java.io.Serializable, SwingRepresentableWithDomain

A ConversationBlockSelector determines which conversation block should be presented depending on what is known about the problem so far, what cases are under consideration, and the domain.


Field Summary
 
Fields inherited from interface edu.indiana.util.swing.SwingRepresentable
TITLE_FONT
 
Method Summary
 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()
          Reset the state of the conversation block selector, to prepare for a new conversation.
 
Methods inherited from interface edu.indiana.iucbrf.util.SwingRepresentableWithDomain
toSwing
 
Methods inherited from interface edu.indiana.util.swing.SwingRepresentable
toSwing
 

Method Detail

getNextBlock

ConversationBlock getNextBlock(Problem problemSoFar,
                               RetrievalResults casesUnderConsideration,
                               CCBRDomain domain)
The conversation block returned should not be a question to which problemSoFar already has an answer. Returns null if there are no more conversation blocks to ask


getNextFeatureKey

FeatureKey getNextFeatureKey(Problem problemSoFar,
                             RetrievalResults casesUnderConsideration,
                             CCBRDomain domain)

reset

void reset()
Reset the state of the conversation block selector, to prepare for a new conversation. For some conversation block selectors, this may be a dummy operation.


initConversation

void initConversation(Problem initialProblem)
Reset the state of the conversation block selector and prepare for a new conversation on the given problem. For some conversation block selectors, this may be a dummy operation.