49#ifndef GUM_BRUTE_FORCE_KL_H
50#define GUM_BRUTE_FORCE_KL_H
88 template <
typename GUM_SCALAR >
121#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
algorithm for KL divergence between BNs
BNdistance(const IBayesNet< GUM_SCALAR > &P, const IBayesNet< GUM_SCALAR > &Q)
constructor must give 2 BNs
const IBayesNet< GUM_SCALAR > & q_
const IBayesNet< GUM_SCALAR > & p_
ExactBNdistance computes exactly the KL divergence betweens 2 BNs.
ExactBNdistance(const IBayesNet< GUM_SCALAR > &P, const IBayesNet< GUM_SCALAR > &Q)
constructor must give 2 BNs
virtual ~ExactBNdistance()
destructor
Class representing the minimal interface for Bayesian network with no numerical data.
KL divergence between BNs brute force implementation.
gum is the global namespace for all aGrUM entities