Map of parameters to their sufficient statistics. Expectation
Create the probabilistic factors associated with an element.
Create the probabilistic factors associated with an element. This method is memoized.
Make a conditional selector factor used in the decomposition of chain and other elements.
Make a conditional selector factor used in the decomposition of chain and other elements. A chain defines a factor over the parent element, each of the possible result elements of the chain, and the overall chain element. This can produce a very large factor when there are many result elements. This is solved by decomposing the chain factor into a product of factors, each of which contains the parent element, one of the result elements, and the overall chain element.
Create the probabilistic factor encoding the probability of evidence in the dependent universe as a function of the values of variables in the parent universe.
Create the probabilistic factor encoding the probability of evidence in the dependent universe as a function of the values of variables in the parent universe. The third argument is the the function to use for computing probability of evidence in the dependent universe. It is assumed that the definition of this function will already contain the right evidence.
Removes the factors for all elements from the cache.
Removes the factors for the specified element from the cache.
Methods for creating probabilistic factors associated with elements and their sufficient statistics.