edu.washington.cs.supple.wlib.java2
Class MinimaxRegretFactoredCostFunctionQueryDisplay
java.lang.Object
edu.washington.cs.supple.wlib.java2.MinimaxRegretFactoredCostFunctionQueryDisplay
- public class MinimaxRegretFactoredCostFunctionQueryDisplay
- extends java.lang.Object
This class allows us to pose queries to the user, queries that will enable us
to reduce uncertainty in the specification of a factored cost function
- Author:
- kgajos
|
Method Summary |
protected void |
displaySolution(java.lang.String name,
Solution solution)
Displays rendred UI options for user's scrutiny |
void |
runQuery()
Executes the query |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
costFunction
protected FactoredCostFunction costFunction
cf1
protected FactoredCostFunction cf1
cf2
protected FactoredCostFunction cf2
ncf
protected FactoredCostFunction ncf
rootObject
protected UiObject rootObject
sizeConstraint
protected java.awt.Dimension sizeConstraint
frame
protected javax.swing.JFrame frame
solutionPane
protected javax.swing.JTabbedPane solutionPane
MinimaxRegretFactoredCostFunctionQueryDisplay
public MinimaxRegretFactoredCostFunctionQueryDisplay(FactoredCostFunction costFunction,
UiObject rootObject,
java.awt.Dimension size)
- Initializes the query display (but does not run any optimizations or
display anything to the user)
- Parameters:
costFunction - cost function to be analyzedrootObject - UI object to be used for the querysize - size constraint
runQuery
public void runQuery()
- Executes the query
displaySolution
protected void displaySolution(java.lang.String name,
Solution solution)
- Displays rendred UI options for user's scrutiny
- Parameters:
name - a name to be associated with a displayed optionsolution - the rendering to be displayed