edu.washington.cs.supple.render.utility
Class MinimizeUncertaintyQueryGenerator

java.lang.Object
  extended byedu.washington.cs.supple.render.utility.AbstractElicitationQueryGenerator
      extended byedu.washington.cs.supple.render.utility.MinimizeUncertaintyQueryGenerator
All Implemented Interfaces:
ElicitationQueryGenerator

public class MinimizeUncertaintyQueryGenerator
extends AbstractElicitationQueryGenerator

Author:
kgajos

Field Summary
protected  FactoredCostFunctionState state
           
protected  java.util.Hashtable uncertaintyMeasures
           
 
Fields inherited from class edu.washington.cs.supple.render.utility.AbstractElicitationQueryGenerator
constraintGenerator, costCalculator, costFunction, queryHistory, solver, vetoFunction, widgetFactory
 
Constructor Summary
MinimizeUncertaintyQueryGenerator()
           
 
Method Summary
protected  void ensureUncertaintyMeasures()
           
protected  void generateCandidates(Widget root)
           
 ElicitationQuery generateQuery(ElicitationQueryDomain domain, FactoredCostFunction curCostFunction)
           
 ElicitationQuery generateQuery(UiObject root, java.awt.Dimension sizeConstraint, FactoredCostFunction curCostFunction)
           
protected  double getUncertaintyReduction(Widget curWidget, Widget newWidget)
           
 
Methods inherited from class edu.washington.cs.supple.render.utility.AbstractElicitationQueryGenerator
addToQueryHistory, generatePerturbedSolution, getCostDifference, getPossibleWidgets, getPossibleWidgets, init, isGoodQueryCandidate, isGoodQueryCandidate, makeFactorConstraint, makeFactorConstraint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uncertaintyMeasures

protected java.util.Hashtable uncertaintyMeasures

state

protected FactoredCostFunctionState state
Constructor Detail

MinimizeUncertaintyQueryGenerator

public MinimizeUncertaintyQueryGenerator()
Method Detail

generateQuery

public ElicitationQuery generateQuery(UiObject root,
                                      java.awt.Dimension sizeConstraint,
                                      FactoredCostFunction curCostFunction)
                               throws java.lang.InterruptedException
Specified by:
generateQuery in interface ElicitationQueryGenerator
Overrides:
generateQuery in class AbstractElicitationQueryGenerator
Throws:
java.lang.InterruptedException

generateCandidates

protected void generateCandidates(Widget root)

getUncertaintyReduction

protected double getUncertaintyReduction(Widget curWidget,
                                         Widget newWidget)

ensureUncertaintyMeasures

protected void ensureUncertaintyMeasures()

generateQuery

public ElicitationQuery generateQuery(ElicitationQueryDomain domain,
                                      FactoredCostFunction curCostFunction)
                               throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException