lppl  v2.0.0

◆ lse_weights()

template<typename V , typename O , typename... Ts>
double Weighted< V, O, Ts >::lse_weights ( )
inline

Returns \(\log Z = \log \sum_{1 \leq n \leq N} \exp w_n \).

The interpretation of this number depends on the inference algorithm used with the queryer. If an importance sampling algorithm is used, this is the evidence. This number should always be equal to 1 when using a MCMC algorithm.

Returns
double