edu.indiana.iucbrf.ccbr.conversationblock.selector
Class EnsembleConversationBlockSelector

java.lang.Object
  extended by edu.indiana.iucbrf.ccbr.conversationblock.selector.AbstractConversationBlockSelector
      extended by edu.indiana.iucbrf.ccbr.conversationblock.selector.EnsembleConversationBlockSelector
All Implemented Interfaces:
ConversationBlockSelector, SwingRepresentableWithDomain, SwingRepresentable, java.io.Serializable

public class EnsembleConversationBlockSelector
extends AbstractConversationBlockSelector

See Also:
Serialized Form

Field Summary
protected  java.lang.Object[] args
           
protected  Ensemble ensemble
           
 
Fields inherited from class edu.indiana.iucbrf.ccbr.conversationblock.selector.AbstractConversationBlockSelector
differentiator
 
Fields inherited from interface edu.indiana.util.swing.SwingRepresentable
TITLE_FONT
 
Constructor Summary
EnsembleConversationBlockSelector(Ensemble ensemble)
          Creates a new instance of EnsembleConversationBlockSelector
 
Method Summary
 Ensemble getEnsemble()
           
protected  FeatureKey getNextFeatureKeyImpl(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.
protected  void initConversationImpl(Problem initialProblem)
           
 void reset()
          Reset the state of the conversation block selector, to prepare for a new conversation.
 javax.swing.JComponent toSwing(Domain domain)
           
 javax.swing.JComponent toSwing(int detailLevel)
          Detail level may be ignored by implementations.
 
Methods inherited from class edu.indiana.iucbrf.ccbr.conversationblock.selector.AbstractConversationBlockSelector
getNextBlock, getNextFeatureKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ensemble

protected Ensemble ensemble

args

protected java.lang.Object[] args
Constructor Detail

EnsembleConversationBlockSelector

public EnsembleConversationBlockSelector(Ensemble ensemble)
Creates a new instance of EnsembleConversationBlockSelector

Method Detail

getNextFeatureKeyImpl

protected FeatureKey getNextFeatureKeyImpl(Problem problemSoFar,
                                           RetrievalResults casesUnderConsideration,
                                           CCBRDomain domain)
Specified by:
getNextFeatureKeyImpl in class AbstractConversationBlockSelector

getEnsemble

public Ensemble getEnsemble()

reset

public 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

public void initConversation(Problem initialProblem)
Description copied from interface: ConversationBlockSelector
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.

Specified by:
initConversation in interface ConversationBlockSelector
Overrides:
initConversation in class AbstractConversationBlockSelector

initConversationImpl

protected void initConversationImpl(Problem initialProblem)
Specified by:
initConversationImpl in class AbstractConversationBlockSelector

toSwing

public javax.swing.JComponent toSwing(Domain domain)

toSwing

public javax.swing.JComponent toSwing(int detailLevel)
Detail level may be ignored by implementations. If used, the standard is for detailLevel 0 to be least detail, with higher values growing more detailed. 0 is least detail, higher numbers are more