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

java.lang.Object
  extended byedu.washington.cs.supple.render.utility.FactorUncertaintyMeasure

public class FactorUncertaintyMeasure
extends java.lang.Object

Author:
kgajos

Field Summary
protected  java.util.ArrayList constraints
           
protected  java.lang.String factorName
           
protected  double[] intersections
           
protected  double uncertaintyCache
           
protected  int[] violatedConstraintsPerInterval
           
 
Constructor Summary
FactorUncertaintyMeasure(java.lang.String factorName)
           
 
Method Summary
 void addConstraint(FactorConstraint constraint)
           
 void addConstraints(java.util.Collection constraints)
           
 double getUncertaintyMeasure(FactoredCostFunctionState state)
           
 double hypothesizeUncertaintyMeasure(FactorConstraint constraint, FactoredCostFunctionState state)
           
protected  void removeConstraint(FactorConstraint constraint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factorName

protected java.lang.String factorName

constraints

protected java.util.ArrayList constraints

intersections

protected double[] intersections

violatedConstraintsPerInterval

protected int[] violatedConstraintsPerInterval

uncertaintyCache

protected double uncertaintyCache
Constructor Detail

FactorUncertaintyMeasure

public FactorUncertaintyMeasure(java.lang.String factorName)
Method Detail

addConstraint

public void addConstraint(FactorConstraint constraint)

addConstraints

public void addConstraints(java.util.Collection constraints)

removeConstraint

protected void removeConstraint(FactorConstraint constraint)

getUncertaintyMeasure

public double getUncertaintyMeasure(FactoredCostFunctionState state)

hypothesizeUncertaintyMeasure

public double hypothesizeUncertaintyMeasure(FactorConstraint constraint,
                                            FactoredCostFunctionState state)