Gets custom properties associated with this instance.
Custom properties allow storage of custom information, which will be saved with the network.
An optional description for the Bayesian network.
An optional description for the Bayesian network.
For internal use only. May be removed in future versions.
For internal use only. May be removed in future versions.
The collection of links in the Bayesian network.
Note that if a {@link com.bayesserver.Node} is removed from the network, all of its links are automatically removed.
An optional name for the Bayesian network.
An optional name for the Bayesian network.
Gets groups which nodes can belong to.
Each node can belong to one or more groups.
The collection of nodes in the Bayesian network.
The collection of variables in the Bayesian network.
When true
synchronizes {@link com.bayesserver.Variable} names with their containing {@link com.bayesserver.Node}.
The synchronization is one way from the Node to the Variable only.
Synchronization only occurs when a node has a single variable, whose name matches its containing node.
When true
synchronizes {@link com.bayesserver.Variable} names with their containing {@link com.bayesserver.Node}.
The synchronization is one way from the Node to the Variable only.
Synchronization only occurs when a node has a single variable, whose name matches its containing node.
For internal use only.
Makes a copy of the network.
The copy.
Determines whether this instance is a Directed Acyclic Graph (DAG) which is a requirement for Bayesian networks.
true
if this instance is a DAG; otherwise, false
.
Determines whether this instance is a tree (singly connected).
true
if this instance is a tree; otherwise, false
.
Loads a network from a string.
The persisted string value of the network.
For internal use.
Saves the network to a string, with UTF-8 encoding. For large networks consider saving to file or a stream.
The network persisted to a string.
Validates that the Bayesian network is correctly specified.
Specifies options to control the validation process.
Represents a Bayesian Network, or a Dynamic Bayesian Network. To perform inference with a network see the {@link com.bayesserver.inference} namespace.
A Bayesian network consists of nodes which contain one or more variables. Each node can be connected with a directed {@link com.bayesserver.Link link} (A link in a Dynamic Bayesian Network can have an associated order which links nodes in different time slices).
Each node in a Bayesian network must have a distribution specified over its own variables conditional on its parents variables. For example if a network contains nodes A and B each with a single variable of the same name, and A is a parent of B, then the distribution at A equals P(A), since A has no parents, and the distribution at B equals P(B|A).
Once the nodes, links, and distributions in a Bayesian network have been specified, one or more inference engines can be created based on the network, to perform probabilistic inference. See {@link com.bayesserver.inference.IInference}.
com.bayesserver.Node
com.bayesserver.Link