BEASTObject that performs calculations based on the State.
Probabilistic representation that can produce a log probability for instance for running an MCMC chain.
Takes mixture of distributions
Logable: yes, this can be used in a log.
distribution, weights, useLogSpace
 
| type: beast.base.inference.Distribution*** |
| distribution to average over |
| Required input |
 
| type: beast.base.inference.parameter.RealParameter |
| weights on the distributions, should sum to 1 if specified |
| Optional input |
 
| type: java.lang.Boolean |
| if false (default) use sum_i w_i P_i, if true use sum_i w_i log(P_i). Note if useLogSpace=true, the resulting distribution is not normalised (unless one of the weights is 1), while if useLogSpace=false, the resulting distribution is normalised iff all mixture components are normalised. |
| Optional input. Default: false |