edu.ucla.belief.approx
Class ApproxEngine

Object
  extended by ApproxEngine
All Implemented Interfaces:
QuantitativeDependencyHandler

public class ApproxEngine
extends Object
implements QuantitativeDependencyHandler


Field Summary
static double negl
           
static PrintStream STREAM_VERBOSE
           
 
Constructor Summary
ApproxEngine(BeliefNetwork bn, InferenceEngine ie)
           
ApproxEngine(BeliefNetwork bn, InferenceEngine ie, PrintWriter pw)
           
 
Method Summary
static double[] approxTheta(double[] origTheta, double[] yConditional)
           
 void cutEdges(ApproxReport report)
           
 ApproxReport findFixedPoint(List parentList, List childList, List startValueList, int maxLoops)
           
static boolean flipsOutput(double[] conditional1, double[] conditional2)
           
 InferenceEngine getControlInferenceEngine()
           
 CPTShell getCPTShell(FiniteVariable var)
          interface QuantitativeDependencyHandler
 ApproxReport getLatestReport()
           
 void printToWriter(String s)
           
 void reset()
           
 void restoreEdges(ApproxReport report)
           
 double safeKL(double p)
           
 double safeProb(double kl)
           
 void setPrintWriter(PrintWriter pw)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

negl

public static double negl

STREAM_VERBOSE

public static final PrintStream STREAM_VERBOSE
Constructor Detail

ApproxEngine

public ApproxEngine(BeliefNetwork bn,
                    InferenceEngine ie)

ApproxEngine

public ApproxEngine(BeliefNetwork bn,
                    InferenceEngine ie,
                    PrintWriter pw)
Method Detail

getLatestReport

public ApproxReport getLatestReport()

getCPTShell

public CPTShell getCPTShell(FiniteVariable var)
interface QuantitativeDependencyHandler

Specified by:
getCPTShell in interface QuantitativeDependencyHandler
Since:
061404

reset

public void reset()
Since:
061804

getControlInferenceEngine

public InferenceEngine getControlInferenceEngine()
Since:
061704

setPrintWriter

public void setPrintWriter(PrintWriter pw)

printToWriter

public void printToWriter(String s)

findFixedPoint

public ApproxReport findFixedPoint(List parentList,
                                   List childList,
                                   List startValueList,
                                   int maxLoops)

approxTheta

public static double[] approxTheta(double[] origTheta,
                                   double[] yConditional)

cutEdges

public void cutEdges(ApproxReport report)

restoreEdges

public void restoreEdges(ApproxReport report)

flipsOutput

public static boolean flipsOutput(double[] conditional1,
                                  double[] conditional2)

safeKL

public double safeKL(double p)

safeProb

public double safeProb(double kl)


Copyright 2010 UCLA Automated Reasoning Group