A class representing the actor running the algorithm.
A handler of services provided by the algorithm.
A handler of services provided by the algorithm.
Number of samples that should be taken in a single step of the algorithm.
Called when the algorithm is killed.
Called when the algorithm is killed. By default, does nothing. Can be overridden.
The actor running the algorithm.
The actor running the algorithm.
Called when the algorithm starts before running any steps.
Called when the algorithm starts before running any steps.
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.
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.
Run a single step of the algorithm.
Run a single step of the algorithm. The algorithm must be able to provide answers after each step.
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.
Override the stopUpdate function in anytime to call the sampler update function
Override the stopUpdate function in anytime to call the sampler update function
Anytime sampling algorithms.