30 template<
class BAYESTREE>
33 clique->conditional()->solveInPlace(
result);
36 for(
const typename BAYESTREE::sharedClique& child: clique->children_)
37 optimizeInPlace<BAYESTREE>(child,
result);
41 template<
class BAYESTREE>
46 result += clique->conditional()->logDeterminant();
49 for(
const typename BAYESTREE::sharedClique& child: clique->children_)
50 result += logDeterminant<BAYESTREE>(child);