|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCOM.hugin.HAPI.JunctionTree
Thic class represents the JunctionTrees in the compiled domain.
Method Summary | |
boolean |
cgEvidenceIsPropagated()
Returns true if CG evidence has been propagated in
this JunctionTree; otherwise, returns false . |
boolean |
equilibriumIs(Domain.Equilibrium equilibrium)
Tests the Equilibrium type. |
boolean |
evidenceIsPropagated()
Returns true if evidence has been propagated in
this JunctionTree; otherwise, returns false . |
boolean |
evidenceModeIs(Domain.EvidenceMode mode)
Returns true if the EvidenceMode matches
mode ; otherwise, returns false . |
boolean |
evidenceToPropagate()
Returns true if the JunctionTree contains evidence
that has not been propagated; otherwise, returns
false . |
CliqueList |
getCliques()
Returns the cliques of this JunctionTree. |
double |
getConflict()
Returns the conflict measure of the data inserted in this JunctionTree. |
Clique |
getRoot()
Returns the root clique of this JunctionTree. |
long |
getTotalCGSize()
Returns the total number of CG table entries for this JunctionTree. |
long |
getTotalSize()
Returns the total number of discrete table configurations for this JunctionTree. |
boolean |
isAlive()
Is this JunctionTree object alive? |
boolean |
likelihoodIsPropagated()
Returns true if likelihoods have been propagated
in this JunctionTree; otherwise, returns false . |
void |
propagate(Domain.Equilibrium equilibrium,
Domain.EvidenceMode evidenceMode)
Propagates evidence in this JunctionTree. |
boolean |
tablesToPropagate()
Returns true if this JunctionTree contains updated
tables that have not been propagated; otherwise, returns
false . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean cgEvidenceIsPropagated() throws ExceptionHugin
true
if CG evidence has been propagated in
this JunctionTree; otherwise, returns false
.
ExceptionHugin
public boolean equilibriumIs(Domain.Equilibrium equilibrium) throws ExceptionHugin
true
if the
equilibrium of this JunctionTree can be obtained through a
propagation using equilibrium
as the Equilibrium
type; otherwise, returns false
.
equilibrium
- the type of Equilibrium to test for.
ExceptionHugin
public boolean evidenceIsPropagated() throws ExceptionHugin
true
if evidence has been propagated in
this JunctionTree; otherwise, returns false
.
ExceptionHugin
public boolean evidenceModeIs(Domain.EvidenceMode mode) throws ExceptionHugin
true
if the EvidenceMode matches
mode
; otherwise, returns false
.
mode
- the type of EvidenceMode to test for.
ExceptionHugin
public boolean evidenceToPropagate() throws ExceptionHugin
true
if the JunctionTree contains evidence
that has not been propagated; otherwise, returns
false
.
ExceptionHugin
public CliqueList getCliques() throws ExceptionHugin
ExceptionHugin
public double getConflict() throws ExceptionHugin
ExceptionHugin
public Clique getRoot() throws ExceptionHugin
ExceptionHugin
public long getTotalSize() throws ExceptionHugin
ExceptionHugin
public long getTotalCGSize() throws ExceptionHugin
ExceptionHugin
public boolean likelihoodIsPropagated() throws ExceptionHugin
true
if likelihoods have been propagated
in this JunctionTree; otherwise, returns false
.
ExceptionHugin
public void propagate(Domain.Equilibrium equilibrium, Domain.EvidenceMode evidenceMode) throws ExceptionHugin
equilibrium
- the type of Equilibrium reached after the
propagation.evidenceMode
- the EvidenceMode used.
ExceptionHugin
public boolean tablesToPropagate() throws ExceptionHugin
true
if this JunctionTree contains updated
tables that have not been propagated; otherwise, returns
false
.
ExceptionHugin
public boolean isAlive()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |