JunctionTreeReport {RNetica}R Documentation

Produces a report about the junction tree from a compiled Netica network.

Description

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.

Usage

JunctionTreeReport(net)
NetworkCompiledSize(net)

Arguments

net

An active and compiled NeticaBN object.

Value

For JunctionTreeReport() a character vector giving the report, one element per line.

For NetworkCompiledSize() a scalar value giving the size of the network.

Note

Currently, no attempt is made to parse the report, which has a fairly well structured format. Future versions may produce a report object instead.

Author(s)

Russell Almond

References

http://norsys.com/onLineAPIManual/index.html: ReportJunctionTree_bn(), SizeCompiledNet_bn()

See Also

NeticaBN, CompileNetwork(), EliminationOrder(),

Examples

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)


[Package RNetica version 0.8-2 Index]