|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractInferenceEngine
WrapperInferenceEngine
public abstract class WrapperInferenceEngine
Field Summary |
---|
Fields inherited from class AbstractInferenceEngine |
---|
DESCRIBE_CONDITIONAL, STR_CONSOLE_MESSAGE_COMP_MEM, STR_CONSOLE_MESSAGE_COMP_TIME, STR_CONSOLE_MESSAGE_PROP_TIME |
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. |
BeliefNetwork |
getBeliefNetwork()
|
JoinTreeStats.Stat |
getClusterStats()
|
double |
getCompilationTime()
|
JoinTreeStats.StatsSource |
getJoinTreeStats()
|
JointWrapper |
getJointWrapper()
|
double |
getMemoryRequirements()
|
double |
getPropagationTime()
|
JoinTreeStats.Stat |
getSeparatorStats()
|
double |
getValue()
|
boolean |
isExhaustive()
|
Table |
joint(FiniteVariable var)
Returns P(var,observations). |
void |
printInfoCompilation(PrintWriter stream)
|
void |
printInfoPropagation(PrintWriter stream)
|
void |
printTables(PrintWriter out)
|
double |
probability()
|
void |
setCPT(FiniteVariable var)
Sets the CPT associated with var to the values in vals. |
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 |
Method Detail |
---|
public void die()
die
in interface InferenceEngine
die
in class AbstractInferenceEngine
public BeliefNetwork getBeliefNetwork()
public JointWrapper getJointWrapper()
public JoinTreeStats.StatsSource getJoinTreeStats()
getJoinTreeStats
in interface JoinTreeInferenceEngine
public void printTables(PrintWriter out)
printTables
in interface InferenceEngine
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 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 Table familyJoint(FiniteVariable var)
familyJoint
in interface InferenceEngine
public Table familyConditional(FiniteVariable var)
familyConditional
in interface InferenceEngine
public double getValue()
public Set variables()
variables
in interface InferenceEngine
public JoinTreeStats.Stat getClusterStats()
getClusterStats
in interface JoinTreeStats.StatsSource
public JoinTreeStats.Stat getSeparatorStats()
getSeparatorStats
in interface JoinTreeStats.StatsSource
public double getCompilationTime()
public double getPropagationTime()
public double getMemoryRequirements()
public boolean isExhaustive()
isExhaustive
in interface InferenceEngine
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |