|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.bayes.net.VaryNode
public class VaryNode
Part of ADTree implementation. See ADNode.java for more details.
| Field Summary | |
|---|---|
ADNode[] |
m_ADNodes
list of ADNode children |
int |
m_iNode
index of the node varied |
int |
m_nMCV
most common value |
| Constructor Summary | |
|---|---|
VaryNode(int iNode)
Creates new VaryNode |
|
| Method Summary | |
|---|---|
void |
getCounts(int[] nCounts,
int[] nNodes,
int[] nOffsets,
int iNode,
int iOffset,
ADNode parent,
boolean bSubstract)
get counts for specific instantiation of a set of nodes |
java.lang.String |
getRevision()
Returns the revision string. |
void |
print(java.lang.String sTab)
print is used for debugging only, called from ADNode |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int m_iNode
public int m_nMCV
public ADNode[] m_ADNodes
| Constructor Detail |
|---|
public VaryNode(int iNode)
| Method Detail |
|---|
public void getCounts(int[] nCounts,
int[] nNodes,
int[] nOffsets,
int iNode,
int iOffset,
ADNode parent,
boolean bSubstract)
nCounts - array for storing countsnNodes - array of node indexesnOffsets - offset for nodes in nNodes in nCountsiNode - index into nNode indicating current nodeiOffset - Offset into nCounts due to nodes below iNodeparent - parant ADNode of this VaryNodebSubstract - indicate whether counts should be added or substractedpublic void print(java.lang.String sTab)
sTab - amount of space.public java.lang.String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||