The algorithm used to compute the probability of additional evidence, as created by probAdditionalEvidence.
The algorithm used to compute the probability of additional evidence, as created by probAdditionalEvidence. This algorithm can be different to the one defined in this class. (For example, a one-time algorithm can use an anytime algorithm for additional evidence.)
Run the algorithm, performing its computation to completion.
Run the algorithm, performing its computation to completion.
Removes the evidence provided in the constructor from the universe.
Removes the evidence provided in the constructor from the universe.
Since probability of evidence algorithms introduce additional evidence (namely, their evidence argument), into an existing universe, a mechanism must be provided for introducing the evidence when the algorithm begins and cleaning it up at the end.
Since probability of evidence algorithms introduce additional evidence (namely, their evidence argument), into an existing universe, a mechanism must be provided for introducing the evidence when the algorithm begins and cleaning it up at the end. This is achieved with the initialize method, called when the algorithm starts, and the cleanUp method, called when the algorithm is killed.
Kill the algorithm so that it is inactive.
Kill the algorithm so that it is inactive. It will no longer be able to provide answers.Throws AlgorithmInactiveException if the algorithm is not active.
The computed log probability of evidence
The computed log probability of evidence
Returns an algorithm to compute the probability of the additional evidence provided.
Returns an algorithm to compute the probability of the additional evidence provided.
The computed probability of evidence
The computed probability of evidence
Returns the probability of evidence of the universe on which the algorithm operates.
Returns the probability of evidence of the universe on which the algorithm operates. Throws AlgorithmInactiveException if the algorithm is not active.
Resume the computation of the algorithm, if it has been stopped.
Resume the computation of the algorithm, if it has been stopped. Throws AlgorithmInactiveException if the algorithm is not active.
Start the algorithm and make it active.
Start the algorithm and make it active. After it returns, the algorithm must be ready to provide answers. Throws AlgorithmActiveException if the algorithm is already active.
Stop the algorithm from computing.
Stop the algorithm from computing. The algorithm is still ready to provide answers after it returns. Throws AlgorithmInactiveException if the algorithm is not active.
One-time algorithms that compute probability of evidence. A class that implements this trait must implement the run and computeprobEvidence methods.