subn: finds independent sub-bn in a BN

Description Usage Arguments Value Examples

Description

(bn) /// FOR THE MOMENT DOES NOT WORK PROPERLY /// exploring the parentship, returns an order on the nodes, such that generating the nodes following this order produces a draw from the joint distribution.
By the way describes the independent subsets of nodes and stops with a message when a cycle is suspected.

Usage

1
subn(bn)

Arguments

bn

The bn object

Value

a list with

subsets

independent subsets indicated by successive numbers with respect to iin order. Its max is then the number of independent subsets.

order

a compatible order to the calculation of the joint probability. It is given with respect to the iin order. It follows the independent subsets.

Examples

1
2
 rebastaba3k("RESET"); # (only for R checking)
 cat("To be added\n");

rebastaba documentation built on May 2, 2019, 5:24 p.m.

Related to subn in rebastaba...