edu.indiana.util.ensemble
Interface EnsembleMember

All Known Implementing Classes:
ConfidenceConversationBlockSelector, DistanceInfluenceConversationBlockSelector, FrequencyConversationBlockSelector, GainRatioConversationBlockSelector, ImportanceMeasureConversationBlockSelector, InformationGainConversationBlockSelector, RandomConversationBlockSelector

public interface EnsembleMember

A member of an ensemble provides suggestions based on given arguments.


Method Summary
 void decisionMade(java.lang.Object decision)
          Called by AbstractEnsemble, to notify the ensemble member of its decision.
 SuggestionSet makeSuggestions(java.lang.Object[] args, double totalStrength)
           
 

Method Detail

makeSuggestions

SuggestionSet makeSuggestions(java.lang.Object[] args,
                              double totalStrength)
Parameters:
args - The arguments to be used to make a suggestion. This will vary by application.
totalStrength - The total amount of strength that this ensemble member may divide among its suggestions. The simplest case has each ensemble member with totalStrength = 1.0, giving all its strength to its single strongest suggestion.

decisionMade

void decisionMade(java.lang.Object decision)
Called by AbstractEnsemble, to notify the ensemble member of its decision.