gn2bn: creates a bn object from a gn object

Description Usage Arguments Value Examples

Description

(bn) From a gn object, this function creates a bn object. The transformation is made at the node level.
As gn objects are poorer than bn object, this implies some arbitraryness. Dirac distributions are imposed everywhere with parameter equals to its nk when no parents, if not the parent sum.

Usage

1
gn2bn(gn)

Arguments

gn

the gn object

Value

the resulting bn object

Examples

1
2
 rebastaba3k("RESET"); # (only for R checking)
 print(gn2bn(g4n.gn7));

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

Related to gn2bn in rebastaba...