edu.ksu.cis.bnj.bbn.inference
Class ExactInference

java.lang.Object
  extended byedu.ksu.cis.bnj.bbn.inference.Inference
      extended byedu.ksu.cis.bnj.bbn.inference.ExactInference
All Implemented Interfaces:
Optionable
Direct Known Subclasses:
Cutset, ElimBel, LS, Pearl

public abstract class ExactInference
extends Inference

Exact Inference abstract class

Author:
Roby Joehanes

Field Summary
 
Fields inherited from class edu.ksu.cis.bnj.bbn.inference.Inference
graph, inferenceClassName, MAP, MARGINALS, marginalsResult, MPE, OPT_RUN_TYPE, options
 
Fields inherited from interface edu.ksu.cis.kdd.util.gui.Optionable
OPT_OUTPUT_FILE
 
Constructor Summary
ExactInference()
           
ExactInference(BBNGraph g)
           
 
Method Summary
 double computeRMSE(ApproximateInference approx)
          Compute the Root Mean Square Error (RMSE) value between exact and inexact inference.
 
Methods inherited from class edu.ksu.cis.bnj.bbn.inference.Inference
execute, getCurrentOptions, getDefaultOptions, getGraph, getMAP, getMarginals, getMarginalsResult, getMPE, getName, getOptionsDialog, getOutputFile, getRunType, load, setGraph, setOption, setOptions, setOutputFile, setRunType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExactInference

public ExactInference()

ExactInference

public ExactInference(BBNGraph g)
Method Detail

computeRMSE

public double computeRMSE(ApproximateInference approx)
Compute the Root Mean Square Error (RMSE) value between exact and inexact inference. It is the dual of ApproximateInference.computeRMSE

Parameters:
approx - The approximate inference
Returns:
double The RMSE result
See Also:
(ApproximateInference)