|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSynchronizedInferenceEngine
public class SynchronizedInferenceEngine
Nested Class Summary | |
---|---|
static class |
SynchronizedInferenceEngine.SynchronizedPartialDerivativeEngine
|
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. |
static SynchronizedInferenceEngine |
decorate(InferenceEngine simple)
|
String[] |
describeConditionals()
In case this InferenceEngine wants to report two sets of answers, for example, approximate and exact. |
void |
die()
|
boolean |
equals(Object oth)
|
void |
evidenceChanged(EvidenceChangeEvent ece)
Invoked when there is an evidence change. |
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)
|
int |
hashCode()
|
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 pnl)
|
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)
|
String |
toString()
|
Set |
variables()
Returns the set of all of the variables. |
void |
warning(EvidenceChangeEvent ece)
warning() means: a real evidence change is about to happen - get ready! |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static SynchronizedInferenceEngine decorate(InferenceEngine simple)
public void evidenceChanged(EvidenceChangeEvent ece)
EvidenceChangeListener
evidenceChanged
in interface EvidenceChangeListener
public void warning(EvidenceChangeEvent ece)
EvidenceChangeListener
warning
in interface EvidenceChangeListener
public double probability()
probability
in interface InferenceEngine
public double max()
max
in interface InferenceEngine
public void setCPT(FiniteVariable var)
InferenceEngine
setCPT
in interface InferenceEngine
var
- The variable whose CPT we want to set.public int random(FiniteVariable var)
random
in interface InferenceEngine
public Table joint(FiniteVariable var)
InferenceEngine
joint
in interface InferenceEngine
public Table conditional(FiniteVariable var)
InferenceEngine
conditional
in interface InferenceEngine
public Table familyJoint(FiniteVariable var)
InferenceEngine
familyJoint
in interface InferenceEngine
public Table familyConditional(FiniteVariable var)
InferenceEngine
familyConditional
in interface InferenceEngine
public Table[] conditionals(FiniteVariable var, Table[] buckets)
InferenceEngine
conditionals
in interface InferenceEngine
public String[] describeConditionals()
InferenceEngine
describeConditionals
in interface InferenceEngine
public Collection notoriousEdges()
notoriousEdges
in interface InferenceEngine
public String compilationStatus(PropertySuperintendent bn)
compilationStatus
in interface InferenceEngine
public void printInfoCompilation(PrintWriter out)
printInfoCompilation
in interface InferenceEngine
public void printInfoPropagation(PrintWriter out)
printInfoPropagation
in interface InferenceEngine
public void printTables(PrintWriter out)
printTables
in interface InferenceEngine
public Dynamator getDynamator()
getDynamator
in interface InferenceEngine
public void setDynamator(Dynamator dyn)
setDynamator
in interface InferenceEngine
public boolean getValid()
getValid
in interface InferenceEngine
public void setValid(boolean flag)
setValid
in interface InferenceEngine
public InferenceEngine setControlPanel(Component pnl)
setControlPanel
in interface InferenceEngine
public Component getControlPanel()
getControlPanel
in interface InferenceEngine
public boolean isExhaustive()
isExhaustive
in interface InferenceEngine
public Set variables()
InferenceEngine
variables
in interface InferenceEngine
public boolean probabilitySupported()
probabilitySupported
in interface InferenceEngine
public char probabilityDisplayOperatorUnicode()
probabilityDisplayOperatorUnicode
in interface InferenceEngine
public void die()
die
in interface InferenceEngine
public InferenceEngine canonical()
canonical
in interface InferenceEngine
public int hashCode()
hashCode
in class Object
public boolean equals(Object oth)
equals
in class Object
public InferenceEngine handledClone(QuantitativeDependencyHandler handler)
handledClone
in interface InferenceEngine
public void setQuantitativeDependencyHandler(QuantitativeDependencyHandler handler)
setQuantitativeDependencyHandler
in interface InferenceEngine
public QuantitativeDependencyHandler getQuantitativeDependencyHandler()
getQuantitativeDependencyHandler
in interface InferenceEngine
public boolean isQuantitativeDependencyHandled()
isQuantitativeDependencyHandled
in interface InferenceEngine
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |