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

Go to the source code of this file.

Namespaces

 gum
 Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
 
 gum::prm
 namespace for all probabilistic relational models entities
 

Typedefs

typedef float gum::prm::prm_float
 PRMType for real numbers. More...
 

Functions

void gum::prm::decomposePath (const std::string &path, std::vector< std::string > &v)
 Decompose a string in a vector of strings using "." as separators. More...
 
template<typename GUM_SCALAR >
Potential< GUM_SCALAR > * gum::prm::copyPotential (const Bijection< const DiscreteVariable *, const DiscreteVariable * > &bij, const Potential< GUM_SCALAR > &source)
 Returns a copy of a Potential after applying a bijection over the variables in source. More...
 
template<typename GUM_SCALAR >
Potential< GUM_SCALAR > * gum::prm::multPotential (const Potential< GUM_SCALAR > &t1, const Potential< GUM_SCALAR > &t2)
 
template<typename GUM_SCALAR >
void gum::prm::eliminateNode (const DiscreteVariable *var, Set< Potential< GUM_SCALAR > * > &pool, Set< Potential< GUM_SCALAR > * > &trash)
 Proceeds with the elimination of var in pool. More...
 
template<typename GUM_SCALAR >
void gum::prm::eliminateNodes (const std::vector< const DiscreteVariable * > &elim_order, Set< Potential< GUM_SCALAR > * > &pool, Set< Potential< GUM_SCALAR > * > &trash)
 
NodeId gum::prm::nextNodeId ()
 Returns the next value of an unique counter for PRM's node id. More...