![]() |
aGrUM 3.0.0
a C++ library for (probabilistic) graphical models
|
Moralization algorithms for aGrUM directed and mixed graphs. More...
#include <agrum/agrum.h>#include <agrum/base/graphs/mixedGraph.h>#include <agrum/base/graphs/algorithms/generic/moralization_tpl.h>Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
| namespace | gum::graph |
Functions | |
| template<GUM_DiGraphable G> | |
| UndiGraph | gum::graph::moralGraph (const G &g) |
Returns the moral graph of g. | |
| template<GUM_DiGraphable G> | |
| UndiGraph | gum::graph::moralizedAncestralGraph (const G &g, const NodeSet &query) |
Returns the moralized ancestral graph of query in g. | |
Moralization algorithms for aGrUM directed and mixed graphs.
Both functions are constrained by GUM_DiGraphable and adapt their behaviour at compile time via if constexpr (GUM_MixedGraphable<G>):
moralGraph
moralizedAncestralGraph
Definition in file moralization.h.