edu.washington.cs.supple.render
Class SuppleDeviceProperties
java.lang.Object
edu.washington.cs.supple.render.SuppleDeviceProperties
- public class SuppleDeviceProperties
- extends java.lang.Object
- Author:
- kgajos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deviceProperties
protected static DeviceProperties deviceProperties
solver
protected static Solver solver
enableRenderingHints
protected static boolean enableRenderingHints
enableRenderingConstraints
protected static boolean enableRenderingConstraints
enablePerformanceMeasure
protected static boolean enablePerformanceMeasure
enableReferenceUi
protected static boolean enableReferenceUi
enableShortcuts
protected static boolean enableShortcuts
useLearnableUtilityFunction
protected static boolean useLearnableUtilityFunction
enableWidgetWrapping
protected static boolean enableWidgetWrapping
enableCustomization
protected static boolean enableCustomization
enableGeneralization
protected static boolean enableGeneralization
customizationRequestEventDispatcher
protected static CustomizationRequestEventDispatcher customizationRequestEventDispatcher
learningEventDispatcher
protected static LearningEventDispatcher learningEventDispatcher
widgetFactory
protected static WidgetFactory widgetFactory
constraintFactory
protected static ConstraintFactory constraintFactory
costFunction
protected static CostFunction costFunction
similarityCostFunction
protected static SimilarityCostFunction similarityCostFunction
factoredCostFunction
protected static FactoredCostFunction factoredCostFunction
priorCostFunction
protected static FactoredCostFunction priorCostFunction
priorCostFunctionState
protected static FactoredCostFunctionState priorCostFunctionState
factoredCostCalculator
protected static FactoredCostCalculator factoredCostCalculator
factoredCostConstraintGenerator
protected static FactoredCostConstraintGenerator factoredCostConstraintGenerator
vetoFunction
protected static VetoFunction vetoFunction
availableScreenSize
protected static java.awt.Dimension availableScreenSize
referenceUi
protected static RenderedUi referenceUi
renderingHistory
protected static RenderingHistory renderingHistory
maxMarginSolver
protected static FactoredCostSolver maxMarginSolver
bayesianSolver
protected static FactoredCostSolver bayesianSolver
queryGenerator
protected static ElicitationQueryGenerator queryGenerator
queryEvaluator
protected static ElicitationQueryEvaluator queryEvaluator
navigationFunctionWeight
protected static float navigationFunctionWeight
matchFunctionWeight
protected static float matchFunctionWeight
similarityFunctionWeight
protected static float similarityFunctionWeight
pcs
protected static java.beans.PropertyChangeSupport pcs
getSolver
public static Solver getSolver()
- Returns:
getDeviceProperties
public static DeviceProperties getDeviceProperties()
- Returns:
setDeviceProperties
public static void setDeviceProperties(DeviceProperties properties)
- Parameters:
properties -
setDefaultDeviceProperties
public static void setDefaultDeviceProperties()
- Set device properties back to default.
getWidgetFactory
public static WidgetFactory getWidgetFactory()
getConstraintFactory
public static ConstraintFactory getConstraintFactory()
getCostFunction
public static CostFunction getCostFunction()
getFactoredCostFunction
public static FactoredCostFunction getFactoredCostFunction()
setFactoredCostFunction
public static void setFactoredCostFunction(FactoredCostFunction fcf)
getPriorCostFunction
public static FactoredCostFunction getPriorCostFunction()
getPriorCostFunctionState
public static FactoredCostFunctionState getPriorCostFunctionState()
setPriorCostFunction
public static void setPriorCostFunction(FactoredCostFunction priorCostFunction)
getFactoredCostCalculator
public static FactoredCostCalculator getFactoredCostCalculator()
setFactoredCostCalculator
public static void setFactoredCostCalculator(FactoredCostCalculator fcc)
getFactoredCostConstraintGenerator
public static FactoredCostConstraintGenerator getFactoredCostConstraintGenerator()
- Returns:
- Returns the maxMarginConstraintGenerator.
setFactoredCostConstraintGenerator
public static void setFactoredCostConstraintGenerator(FactoredCostConstraintGenerator maxMarginConstraintGenerator)
- Parameters:
maxMarginConstraintGenerator - The maxMarginConstraintGenerator to set.
getVetoFunction
public static VetoFunction getVetoFunction()
setCostFunction
public static void setCostFunction(CostFunction cf)
getSimilarityCostFunction
public static SimilarityCostFunction getSimilarityCostFunction()
setSimilarityCostFunction
public static void setSimilarityCostFunction(SimilarityCostFunction similarityCostFunction)
getNavigationFunctionWeight
public static float getNavigationFunctionWeight()
- Returns:
- Returns the navigationFunctionWeight.
setNavigationFunctionWeight
public static void setNavigationFunctionWeight(float navigationFunctionWeight)
- Parameters:
navigationFunctionWeight - The navigationFunctionWeight to set.
getMatchFunctionWeight
public static float getMatchFunctionWeight()
- Returns:
- Returns the matchFunctionWeight.
setMatchFunctionWeight
public static void setMatchFunctionWeight(float matchFunctionWeight)
- Parameters:
matchFunctionWeight - The matchFunctionWeight to set.
getSimilarityFunctionWeight
public static float getSimilarityFunctionWeight()
- Returns:
- Returns the similarityFunctionWeight.
setSimilarityFunctionWeight
public static void setSimilarityFunctionWeight(float similarityFunctionWeight)
- Parameters:
similarityFunctionWeight - The similarityFunctionWeight to set.
getReferenceUi
public static RenderedUi getReferenceUi()
- Returns:
- Returns the referenceUi.
setReferenceUi
public static void setReferenceUi(RenderedUi referenceUi)
- Parameters:
referenceUi - The referenceUi to set.
enableReferenceUi
public static boolean enableReferenceUi()
- Returns:
- true if we are supposed to render similarly to the reference UI
setEnableReferenceUi
public static void setEnableReferenceUi(boolean enableReferenceUi)
- Parameters:
enableReferenceUi - The enableReferenceUi to set.
setSolver
public static void setSolver(Solver solver)
- Parameters:
solver -
enableRenderingHints
public static boolean enableRenderingHints()
- Returns:
setEnableRenderingHints
public static void setEnableRenderingHints(boolean b)
- Parameters:
b -
enableRenderingConstraints
public static boolean enableRenderingConstraints()
- Returns:
setEnableRenderingConstraints
public static void setEnableRenderingConstraints(boolean b)
- Parameters:
b -
enablePerformanceMeasure
public static boolean enablePerformanceMeasure()
- Returns:
setEnablePerformanceMeasure
public static void setEnablePerformanceMeasure(boolean b)
- Parameters:
b -
enableShortcuts
public static boolean enableShortcuts()
- checks if the shortut rendering is enabled in this instance of supple
- Returns:
- true if shortcuts are enabled; false otherwise
setEnableShortcuts
public static void setEnableShortcuts(boolean b)
- enable or disable shortcut rendering for this instance of supple
- Parameters:
b -
getAvailableScreenSize
public static java.awt.Dimension getAvailableScreenSize()
- Returns:
setAvailableScreenSize
public static void setAvailableScreenSize(java.awt.Dimension dimension)
- Parameters:
dimension -
isUseLearnableUtilityFunction
public static boolean isUseLearnableUtilityFunction()
- Returns:
- Returns the useLearnableUtilityFunction.
setUseLearnableUtilityFunction
public static void setUseLearnableUtilityFunction(boolean useLearnableUtilityFunction)
- Parameters:
useLearnableUtilityFunction - The useLearnableUtilityFunction to set.
addPropertyChangeListener
public static void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
removePropertyChangeListener
public static void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
enableWidgetWrapping
public static boolean enableWidgetWrapping()
- Returns:
- Returns the enableWidgetWrapping.
setEnableWidgetWrapping
public static void setEnableWidgetWrapping(boolean enableWidgetWrapping)
- Parameters:
enableWidgetWrapping - The enableWidgetWrapping to set.
enableCustomization
public static boolean enableCustomization()
- Returns true if customization is enabled, false otherwise.
setEnableCustomization
public static void setEnableCustomization(boolean b)
- Turn customization on or off.
- Parameters:
b -
enableGeneralization
public static boolean enableGeneralization()
- Returns true if generalization (for customization) is enabled, false
otherwise.
setEnableGeneralization
public static void setEnableGeneralization(boolean b)
- Turn generalization (for customization) on or off.
- Parameters:
b -
getCustomizationRequestEventDispatcher
public static CustomizationRequestEventDispatcher getCustomizationRequestEventDispatcher()
- Returns:
- Returns the customizationRequestEventDispatcher.
getLearningEventDispatcher
public static LearningEventDispatcher getLearningEventDispatcher()
getRenderingHistory
public static RenderingHistory getRenderingHistory()
getMaxMarginSolver
public static FactoredCostSolver getMaxMarginSolver()
- Returns:
- Returns the maxMarginSolver.
getBayesianSolver
public static FactoredCostSolver getBayesianSolver()
- Returns:
- Returns the Bayesian Solver.
getQueryGenerator
public static ElicitationQueryGenerator getQueryGenerator()
- Returns:
- Returns the queryGenerator.
setQueryGenerator
public static void setQueryGenerator(ElicitationQueryGenerator queryGenerator)
getQueryEvaluator
public static ElicitationQueryEvaluator getQueryEvaluator()
setQueryEvaluator
public static void setQueryEvaluator(ElicitationQueryEvaluator queryEvaluator)