nwequal: Test if the graphs of two networks are equal
Description
Given two network objects, the nodes in the nodelists are
compared by examining if their parents are the same.Value
- TRUE if the network graphs are equal, FALSE otherwise.
Details
The networks are assumed to have the same number of nodes and
the nodes are assumed to represent the same stochastic
variables. Sequentially the nodes' parents are compared and if they
differ, FALSE is returned.References
Further information about Deal can be found at:
http://www.math.auc.dk/novo/deal.