Class CPTNode
java.lang.Object
Cluster
CPTNode
public class CPTNode
- extends Cluster
A CPT node used in the bucket-tree method. The ID of a CPT node is
the ID of the child variable in the CPT.
Method Summary |
void |
buildModes()
Adds the input/output modes for all variables in the CPT. |
java.lang.String |
toPrismString()
Returns a string representation of the corresponding
"cpt " literal. |
java.lang.String |
toPrismString2()
The same as toPrismString() . |
java.lang.String |
toString()
Returns an _internal_ string representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CPTNode
public CPTNode(int i,
VArray a)
throws B2PException
- Parameters:
i
- ID of the cluster node.a
- bit array that indicates the variables in the CPT.
- Throws:
B2PException
buildModes
public void buildModes()
- Adds the input/output modes for all variables in the CPT.
toString
public java.lang.String toString()
- Returns an _internal_ string representation.
- Specified by:
toString
in class Cluster
toPrismString
public java.lang.String toPrismString()
- Returns a string representation of the corresponding
"
cpt
" literal.
- Specified by:
toPrismString
in class Cluster
toPrismString2
public java.lang.String toPrismString2()
- The same as
toPrismString()
.
- Specified by:
toPrismString2
in class Cluster