aGrUM 3.3.2
a C++ library for (probabilistic) graphical models
junctionTreeRoots.cpp File Reference

Implementation of the selection of the roots of a junction tree. More...

#include <cmath>
#include <utility>
#include <agrum/base/graphicalModels/inference/junctionTreeRoots.h>
Include dependency graph for junctionTreeRoots.cpp:

Go to the source code of this file.

Namespaces

namespace  gum
 gum is the global namespace for all aGrUM entities

Functions

NodeSet gum::junctionTreeRoots (const JunctionTree &jt, const GraphicalModel &model, const NodeSet &preferred)
 Returns one root for each connected component of a junction tree.

Detailed Description

Implementation of the selection of the roots of a junction tree.

Author
Pierre-Henri WUILLEMIN(_at_LIP6) & Christophe GONZALES(_at_AMU)

Definition in file junctionTreeRoots.cpp.