weka.classifiers.bayes.net
Class MarginCalculator.JunctionTreeNode
java.lang.Object
weka.classifiers.bayes.net.MarginCalculator.JunctionTreeNode
- All Implemented Interfaces:
- java.io.Serializable, RevisionHandler
- Enclosing class:
- MarginCalculator
public class MarginCalculator.JunctionTreeNode
- extends java.lang.Object
- implements java.io.Serializable, RevisionHandler
- See Also:
- Serialized Form
Field Summary |
java.util.Vector |
m_children
|
int[] |
m_nNodes
nodes of the Bayes net in this junction node |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_nNodes
public int[] m_nNodes
- nodes of the Bayes net in this junction node
m_children
public java.util.Vector m_children
setParentSeparator
public void setParentSeparator(MarginCalculator.JunctionTreeSeparator parentSeparator)
addChildClique
public void addChildClique(MarginCalculator.JunctionTreeNode child)
initializeUp
public void initializeUp()
initializeDown
public void initializeDown(boolean recursively)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setEvidence
public void setEvidence(int nNode,
int iValue)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRevision
public java.lang.String getRevision()
- Returns the revision string.
- Specified by:
getRevision
in interface RevisionHandler
- Returns:
- the revision