|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractInferenceEngine
JoinTreeInferenceEngineImpl
public class JoinTreeInferenceEngineImpl
Field Summary |
---|
Fields inherited from class AbstractInferenceEngine |
---|
DESCRIBE_CONDITIONAL, STR_CONSOLE_MESSAGE_COMP_MEM, STR_CONSOLE_MESSAGE_COMP_TIME, STR_CONSOLE_MESSAGE_PROP_TIME |
Constructor Summary | |
---|---|
JoinTreeInferenceEngineImpl(BeliefCompilation comp,
Dynamator dyn)
Constructs a new JoinTreeInferenceEngineImpl that wraps a BeliefCompilation. |
Method Summary | |
---|---|
Table |
conditional(FiniteVariable var)
Returns P(var | observations). |
void |
die()
|
void |
evidenceChanged(EvidenceChangeEvent ECE)
For interface EvidenceChangeListener |
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. |
Table |
familyPartial(FiniteVariable var)
Returns the partial derivatives of the probability function with respect to the family table of var. |
int |
getCacheHits()
|
JoinTreeStats.StatsSource |
getJoinTreeStats()
|
double |
getValue()
|
InferenceEngine |
handledClone(QuantitativeDependencyHandler handler)
|
boolean |
isExhaustive()
|
Table |
joint(FiniteVariable var)
Returns P(var,observations). |
Table |
partial(FiniteVariable var)
Returns the partial derivatives of the probability function with respect to the variable var. |
void |
printInfoCompilation(PrintWriter stream)
|
void |
printInfoPropagation(PrintWriter stream)
|
void |
printTables(PrintWriter stream)
|
double |
probability()
|
void |
setCPT(FiniteVariable var)
Sets the CPT associated with var to the values in vals. |
BeliefCompilation |
underlyingCompilation()
|
Set |
variables()
Returns the set of all of the variables. |
void |
warning(EvidenceChangeEvent ece)
For interface EvidenceChangeListener |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ChangeListener |
---|
settingChanged |
Constructor Detail |
---|
public JoinTreeInferenceEngineImpl(BeliefCompilation comp, Dynamator dyn)
Method Detail |
---|
public void die()
die
in interface InferenceEngine
die
in class AbstractInferenceEngine
public void printInfoCompilation(PrintWriter stream)
printInfoCompilation
in interface InferenceEngine
printInfoCompilation
in class AbstractInferenceEngine
public void printInfoPropagation(PrintWriter stream)
printInfoPropagation
in interface InferenceEngine
printInfoPropagation
in class AbstractInferenceEngine
public void printTables(PrintWriter stream)
printTables
in interface InferenceEngine
public InferenceEngine handledClone(QuantitativeDependencyHandler handler)
handledClone
in interface InferenceEngine
public JoinTreeStats.StatsSource getJoinTreeStats()
getJoinTreeStats
in interface JoinTreeInferenceEngine
public BeliefCompilation underlyingCompilation()
public void warning(EvidenceChangeEvent ece)
warning
in interface EvidenceChangeListener
public void evidenceChanged(EvidenceChangeEvent ECE)
evidenceChanged
in interface EvidenceChangeListener
public void setCPT(FiniteVariable var)
setCPT
in interface InferenceEngine
var
- The variable whose CPT we want to set.vals
- The values of the entries in the cpt.public double probability()
probability
in interface InferenceEngine
public Table joint(FiniteVariable var)
joint
in interface InferenceEngine
public Table conditional(FiniteVariable var)
conditional
in interface InferenceEngine
public int getCacheHits()
public Table familyJoint(FiniteVariable var)
familyJoint
in interface InferenceEngine
public Table familyConditional(FiniteVariable var)
familyConditional
in interface InferenceEngine
public Table partial(FiniteVariable var)
partial
in interface PartialDerivativeEngine
public Table familyPartial(FiniteVariable var)
familyPartial
in interface PartialDerivativeEngine
public double getValue()
public Set variables()
variables
in interface InferenceEngine
public boolean isExhaustive()
isExhaustive
in interface InferenceEngine
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |