edu.ucla.belief
Interface InferenceEngine

All Superinterfaces:
EvidenceChangeListener
All Known Subinterfaces:
JoinTreeInferenceEngine, PropagationInferenceEngine
All Known Implementing Classes:
AbstractInferenceEngine, EdgeDeletionInferenceEngine, HuginEngine, JoinTreeInferenceEngineImpl, PartialDerivativeWrapperEngine, PropagationInferenceEngineImpl, RandomInferenceEngine, RCEngine, RCInferenceEngine, RecoveryInferenceEngine, SSEngine, SynchronizedInferenceEngine, SynchronizedInferenceEngine.SynchronizedPartialDerivativeEngine, WrapperInferenceEngine, ZCEngine

public interface InferenceEngine
extends EvidenceChangeListener

Since:
20030115
Author:
keith cascio

Method Summary
 InferenceEngine canonical()
           
 String compilationStatus(PropertySuperintendent bn)
           
 Table conditional(FiniteVariable var)
          Returns P(var | observations).
 Table[] conditionals(FiniteVariable var, Table[] buckets)
          In case this InferenceEngine wants to report two sets of answers, for example, approximate and exact.
 String[] describeConditionals()
          In case this InferenceEngine wants to report two sets of answers, for example, approximate and exact.
 void die()
           
 Table familyConditional(FiniteVariable var)
          Returns P(Family(var) | evidence) where Family(var) is the set containing var and its parents.
 Table familyJoint(FiniteVariable var)
          Returns P(Family(var),evidence) where Family(var) is the set containing var and its parents.
 Component getControlPanel()
           
 Dynamator getDynamator()
           
 QuantitativeDependencyHandler getQuantitativeDependencyHandler()
           
 boolean getValid()
           
 InferenceEngine handledClone(QuantitativeDependencyHandler handler)
           
 boolean isExhaustive()
           
 boolean isQuantitativeDependencyHandled()
           
 Table joint(FiniteVariable var)
          Returns P(var,observations).
 double max()
           
 Collection notoriousEdges()
           
 void printInfoCompilation(PrintWriter out)
           
 void printInfoPropagation(PrintWriter out)
           
 void printTables(PrintWriter out)
           
 double probability()
           
 char probabilityDisplayOperatorUnicode()
           
 boolean probabilitySupported()
           
 int random(FiniteVariable var)
           
 InferenceEngine setControlPanel(Component panel)
           
 void setCPT(FiniteVariable var)
          Sets the CPT associated with var to the values in vals.
 void setDynamator(Dynamator dyn)
           
 void setQuantitativeDependencyHandler(QuantitativeDependencyHandler handler)
           
 void setValid(boolean flag)
           
 Set variables()
          Returns the set of all of the variables.
 
Methods inherited from interface EvidenceChangeListener
evidenceChanged, warning
 

Method Detail

canonical

InferenceEngine canonical()
Since:
20091226

compilationStatus

String compilationStatus(PropertySuperintendent bn)
Since:
20091226

notoriousEdges

Collection notoriousEdges()
Since:
20091218

setQuantitativeDependencyHandler

void setQuantitativeDependencyHandler(QuantitativeDependencyHandler handler)
Since:
061304

getQuantitativeDependencyHandler

QuantitativeDependencyHandler getQuantitativeDependencyHandler()

isQuantitativeDependencyHandled

boolean isQuantitativeDependencyHandled()

handledClone

InferenceEngine handledClone(QuantitativeDependencyHandler handler)
Since:
061404

printInfoCompilation

void printInfoCompilation(PrintWriter out)
Since:
091803

printInfoPropagation

void printInfoPropagation(PrintWriter out)

printTables

void printTables(PrintWriter out)

random

int random(FiniteVariable var)
Since:
030603

setDynamator

void setDynamator(Dynamator dyn)
Since:
012103

getDynamator

Dynamator getDynamator()
Since:
012103

setValid

void setValid(boolean flag)
Since:
012103

die

void die()
Since:
090704

getValid

boolean getValid()
Since:
012103

setCPT

void setCPT(FiniteVariable var)
Sets the CPT associated with var to the values in vals. The ordering of vars must be consistent with the ordering returned by getCPT(var).

Parameters:
var - The variable whose CPT we want to set.
vals - The values of the entries in the cpt.

probability

double probability()
Since:
20021029

probabilityDisplayOperatorUnicode

char probabilityDisplayOperatorUnicode()
Since:
20080221

probabilitySupported

boolean probabilitySupported()
Since:
20050830

joint

Table joint(FiniteVariable var)
Returns P(var,observations).


conditional

Table conditional(FiniteVariable var)
Returns P(var | observations).


conditionals

Table[] conditionals(FiniteVariable var,
                     Table[] buckets)
In case this InferenceEngine wants to report two sets of answers, for example, approximate and exact.

Since:
20080226

describeConditionals

String[] describeConditionals()
In case this InferenceEngine wants to report two sets of answers, for example, approximate and exact.

Since:
20080226

getControlPanel

Component getControlPanel()
Since:
20080227

setControlPanel

InferenceEngine setControlPanel(Component panel)
Since:
20080227

max

double max()
Since:
071003

familyJoint

Table familyJoint(FiniteVariable var)
Returns P(Family(var),evidence) where Family(var) is the set containing var and its parents.


familyConditional

Table familyConditional(FiniteVariable var)
Returns P(Family(var) | evidence) where Family(var) is the set containing var and its parents.


variables

Set variables()
Returns the set of all of the variables.


isExhaustive

boolean isExhaustive()


Copyright 2010 UCLA Automated Reasoning Group