edu.ucla.belief.sensitivity
Class SingleParamSuggestion

Object
  extended by SingleParamSuggestion
All Implemented Interfaces:
SensitivitySuggestion

public class SingleParamSuggestion
extends Object
implements SensitivitySuggestion


Field Summary
static double DOUBLE_ONE
           
 
Constructor Summary
SingleParamSuggestion(CPTParameter cptParameter, double theta, ProbabilityInterval interval)
           
SingleParamSuggestion(int index, CPTParameter[] parameters, double[] thetas, ProbabilityInterval[] intervals)
           
 
Method Summary
 void adoptChange()
           
 void adoptChange(CPTParameter localParameter, double localTheta, ProbabilityInterval localInterval)
           
 void adoptChange(double epsilon)
           
 StringBuffer append(StringBuffer buff, VariableStringifier stringifier, NumberFormat format)
           
 double[] computeSuggestedValues(double epsilon)
           
static Vector generateNoisyOrSuggestions(NoisyOrShell shell, SensitivityTable table)
           
static Vector generateTableSuggestions(TableShell shell, SensitivityTable table)
           
 double getAbsoluteChange()
           
 Vector getCorrespondingChanges()
           
 CPTParameter getCPTParameter()
           
 Object getCurrentValue()
           
 ProbabilityInterval getInterval()
           
 double getLogOddsChange()
           
 Comparable getObject()
           
 double getSuggestedParameterValue()
           
 Object getSuggestedValue()
           
static double getSuggestedValue(double localTheta, ProbabilityInterval localInterval)
           
 double getTheta()
           
 FiniteVariable getVariable()
           
 int sign()
           
static Vector tableSuggestions(TableShell shell, SensitivityTable table)
           
 String toString()
           
 String toString(VariableStringifier stringifier, NumberFormat format)
           
 void undo()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DOUBLE_ONE

public static final double DOUBLE_ONE
See Also:
Constant Field Values
Constructor Detail

SingleParamSuggestion

public SingleParamSuggestion(CPTParameter cptParameter,
                             double theta,
                             ProbabilityInterval interval)

SingleParamSuggestion

public SingleParamSuggestion(int index,
                             CPTParameter[] parameters,
                             double[] thetas,
                             ProbabilityInterval[] intervals)
Method Detail

toString

public String toString()
Overrides:
toString in class Object
Since:
20060208

toString

public String toString(VariableStringifier stringifier,
                       NumberFormat format)
Since:
20060209

append

public StringBuffer append(StringBuffer buff,
                           VariableStringifier stringifier,
                           NumberFormat format)
Since:
20060209

getVariable

public FiniteVariable getVariable()
Specified by:
getVariable in interface SensitivitySuggestion

undo

public void undo()
          throws Exception
Throws:
Exception
Since:
20060215

adoptChange

public void adoptChange()
                 throws Exception
Specified by:
adoptChange in interface SensitivitySuggestion
Throws:
Exception
Since:
051602

adoptChange

public void adoptChange(CPTParameter localParameter,
                        double localTheta,
                        ProbabilityInterval localInterval)
Since:
051702

getObject

public Comparable getObject()
Specified by:
getObject in interface SensitivitySuggestion

getCPTParameter

public CPTParameter getCPTParameter()

getCurrentValue

public Object getCurrentValue()
Specified by:
getCurrentValue in interface SensitivitySuggestion

getTheta

public double getTheta()

getSuggestedValue

public Object getSuggestedValue()
Specified by:
getSuggestedValue in interface SensitivitySuggestion

getInterval

public ProbabilityInterval getInterval()

getSuggestedParameterValue

public double getSuggestedParameterValue()
Since:
20060210

adoptChange

public void adoptChange(double epsilon)
                 throws Exception
Throws:
Exception
Since:
20060227

computeSuggestedValues

public double[] computeSuggestedValues(double epsilon)
Since:
20060227

getSuggestedValue

public static double getSuggestedValue(double localTheta,
                                       ProbabilityInterval localInterval)
Since:
051602

getAbsoluteChange

public double getAbsoluteChange()
Specified by:
getAbsoluteChange in interface SensitivitySuggestion

getLogOddsChange

public double getLogOddsChange()
Specified by:
getLogOddsChange in interface SensitivitySuggestion

getCorrespondingChanges

public Vector getCorrespondingChanges()

generateTableSuggestions

public static Vector generateTableSuggestions(TableShell shell,
                                              SensitivityTable table)

tableSuggestions

public static Vector tableSuggestions(TableShell shell,
                                      SensitivityTable table)

generateNoisyOrSuggestions

public static Vector generateNoisyOrSuggestions(NoisyOrShell shell,
                                                SensitivityTable table)

sign

public int sign()


Copyright 2010 UCLA Automated Reasoning Group