JunctionTreeReport {RNetica} | R Documentation |
The process of compilation transforms the network into a junction tree
– a tree of cliques in the original graph – that is more convenient
computationally. The function JunctionTreeReport(net)
produces
a report on the junction tree. The function
NetworkCompiledSize(net)
reports on the size of the compiled
network. The network must be compiled
(CompileNetwork(net)
must be called) before these
functions are called.
JunctionTreeReport(net) NetworkCompiledSize(net)
net |
An active and compiled |
For JunctionTreeReport()
a character vector giving the report,
one element per line.
For NetworkCompiledSize()
a scalar value giving the size of the
network.
Currently, no attempt is made to parse the report, which has a fairly well structured format. Future versions may produce a report object instead.
Russell Almond
http://norsys.com/onLineAPIManual/index.html: ReportJunctionTree_bn(), SizeCompiledNet_bn()
NeticaBN
, CompileNetwork()
,
EliminationOrder()
,
sess <- NeticaSession() startSession(sess) EMSMMotif <- ReadNetworks(file.path(library(help="RNetica")$path, "sampleNets","EMSMMotif.dne"), session=sess) CompileNetwork(EMSMMotif) JunctionTreeReport(EMSMMotif) NetworkCompiledSize(EMSMMotif) DeleteNetwork(EMSMMotif) stopSession(sess)