edu.ucla.belief.approx
Class ApproxEngine
Object
ApproxEngine
- All Implemented Interfaces:
- QuantitativeDependencyHandler
public class ApproxEngine
- extends Object
- implements QuantitativeDependencyHandler
negl
public static double negl
STREAM_VERBOSE
public static final PrintStream STREAM_VERBOSE
ApproxEngine
public ApproxEngine(BeliefNetwork bn,
InferenceEngine ie)
ApproxEngine
public ApproxEngine(BeliefNetwork bn,
InferenceEngine ie,
PrintWriter pw)
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