Package 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
Fields Modifier and Type Field Description java.util.Vectorm_childrenint[]m_nNodesnodes of the Bayes net in this junction node
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChildClique(MarginCalculator.JunctionTreeNode child)java.lang.StringgetRevision()Returns the revision string.voidinitializeDown(boolean recursively)voidinitializeUp()voidsetEvidence(int nNode, int iValue)voidsetParentSeparator(MarginCalculator.JunctionTreeSeparator parentSeparator)java.lang.StringtoString()
-
-
-
Method Detail
-
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:
toStringin classjava.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:
getRevisionin interfaceRevisionHandler- Returns:
- the revision
-
-