aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
utils_prm_tpl.h File Reference
Include dependency graph for utils_prm_tpl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gum
 gum is the global namespace for all aGrUM entities
namespace  gum::prm
 namespace for all probabilistic relational models entities

Functions

template<typename GUM_SCALAR>
Tensor< GUM_SCALAR > * gum::prm::copyTensor (const Bijection< const DiscreteVariable *, const DiscreteVariable * > &bij, const Tensor< GUM_SCALAR > &source)
 Returns a copy of a Tensor after applying a bijection over the variables in source.
template<typename GUM_SCALAR>
Tensor< GUM_SCALAR > gum::prm::multTensor (const Tensor< GUM_SCALAR > &t1, const Tensor< GUM_SCALAR > &t2)
template<typename GUM_SCALAR>
void gum::prm::eliminateNode (const DiscreteVariable *var, Set< Tensor< GUM_SCALAR > * > &pool, Set< Tensor< GUM_SCALAR > * > &trash)
 Proceeds with the elimination of var in pool.
template<typename GUM_SCALAR>
void gum::prm::eliminateNodes (const std::vector< const DiscreteVariable * > &elim_order, Set< Tensor< GUM_SCALAR > * > &pool, Set< Tensor< GUM_SCALAR > * > &trash)