|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCluster
ClusterNode
public class ClusterNode
A cluster node used in the bucket-tree method. In a probabilistic context, a cluster node corresponds to a marginal distribution, and the ID of a cluster node is the ID of the variable which has been marginalized out lastly in the bucket-tree method.
Field Summary |
---|
Fields inherited from class Cluster |
---|
id, instAry, modeAry, offset, varAry, width |
Constructor Summary | |
---|---|
ClusterNode(int i,
VArray a)
|
Method Summary | |
---|---|
java.lang.String |
toPrismModeString()
Returns a mode declaration of the corresponding " node_x N" predicate. |
java.lang.String |
toPrismModeString2()
Returns a mode declaration of the corresponding " pot_x N" predicate. |
java.lang.String |
toPrismString()
Returns a string representation of the corresponding " node_x N" literal. |
java.lang.String |
toPrismString2()
Returns a string representation of the corresponding " pot_x N" literal. |
java.lang.String |
toString()
Returns an _internal_ string representation. |
Methods inherited from class Cluster |
---|
computeWidth, getId, getInstAry, getModeAry, getOffset, getVarAry, getWidth, setInstAry, setModeAry, setOffset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClusterNode(int i, VArray a) throws B2PException
i
- ID of the cluster node.a
- bit array that indicates the variables in the cluster node.
B2PException
Method Detail |
---|
public java.lang.String toString()
toString
in class Cluster
public java.lang.String toPrismModeString()
node_x
N" predicate.
public java.lang.String toPrismModeString2()
pot_x
N" predicate.
public java.lang.String toPrismString()
node_x
N" literal.
toPrismString
in class Cluster
public java.lang.String toPrismString2()
pot_x
N" literal.
toPrismString2
in class Cluster
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |