Initializes a new instance of the {@link com.bayesserver.inference.Evidence} class, with the target Bayesian network.
The target {@link com.bayesserver.Network}.
Initializes a new instance of the {@link com.bayesserver.inference.Evidence} class, and copies the evidence from another instance.
The evidence to copy.
Initializes a new instance of the {@link com.bayesserver.inference.Evidence} class, copying data from an existing {@link com.bayesserver.inference.Evidence} object.
The evidence to copy.
Gets the count of variables with either hard, soft or temporal evidence set.
The count of variables with evidence.
Clears evidence on a variable at the specified time.
The variable whose evidence you want to clear.
The time at which to clear evidence. Can be null.
Clears evidence on a node's single variable.
A node with a single variable whose evidence you want to clear.
The time at which to clear evidence. Can be null.
Clears any evidence on a variable.
The variable to clear evidence on.
Clears evidence on a node's variables.
The node whose variables you want to clear evidence on.
Clears any evidence on all variables.
Represents the evidence, or case data (e.g. row in a database) used in a {@link com.bayesserver.inference.IInference#query query}.
Evidence is always associated with a particular network, however if necessary can be detached or attached to an instance of an inference engine. This has the follwing advantages: - Evidence can be set before an inference engine is created, or retained when an inference engine is destroyed. - Evidence can be switched between inference engines. - An inference engine can switch between different evidence instances.