public class VaryNode extends java.lang.Object implements java.io.Serializable, RevisionHandler
| Modifier and Type | Field and Description |
|---|---|
ADNode[] |
m_ADNodes
list of ADNode children
|
int |
m_iNode
index of the node varied
|
int |
m_nMCV
most common value
|
| Constructor and Description |
|---|
VaryNode(int iNode)
Creates new VaryNode
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public int m_iNode
public int m_nMCV
public ADNode[] m_ADNodes
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