Initializes a new instance of the {@link com.bayesserver.Link} class with the parent node specified in [from] and the child in [to].
If a temporal order is specified that is greater than zero, then a link can connect two nodes (which may be the same) at different times.
Initializes a new instance of the {@link com.bayesserver.Link} class with a specified [temporalOrder], the parent node specified in [from] and the child in [to].
If a temporal order is specified that is greater than zero, then a link can connect two nodes (which may be the same) at different times.
The parent node.
The child node.
The temporal order. Must be greater than or equal to zero.
Gets custom properties associated with this instance.
Custom properties allow storage of custom information, which will be saved with the network.
Optional description for the link.
Optional description for the link.
The parent node of the directed link.
The Index of this instance in the collection of links belonging to a network, or -1 if the link does not belong to a network.
The {@link com.bayesserver.Network} the link belongs to. Value will be null unless the link has been added to a network.
Gets a value which determines the nature of the causal effect between the parent node (from) and a noisy child node (to).
This property has no effect if the child node is not a noisy node.
Sets a value which determines the nature of the causal effect between the parent node (from) and a noisy child node (to).
This property has no effect if the child node is not a noisy node.
Gets the temporal order of the link. If the link is not temporal, zero will be returned.
The child node of the directed link.
Creates a new link, copying the properties from this instance, such as {@link com.bayesserver.Link#getDescription} and {@link com.bayesserver.Link#getCustomProperties}.
The parent node.
The child node.
The temporal order. Must be greater than or equal to zero.
A new link instance.
Represents a directed link in a Bayesian network.
For Dynamic Bayesian Networks, an order can be specified to link temporal nodes between different time slices.