- children - Variable in class BNNode
-
array of node children (possibly empty)
- computeChildren() - Static method in class BNNode
-
Compute the children from the parents.
- cpt - Variable in class BNNode
-
conditional probability table indexed by the binary number formed by concatenating Boolean bits from parent values (ordered by parents array), that is:
parents[0].value?1:0 * 2^(p-1)
+ parents[1].value?1:0 * 2^(p-2)
+ ...
- cptLookup() - Method in class BNNode
-
Returns Conditional Probability Table (CPT) entry (probability of current variable being true) corresponding to current parent node values.