![]() |
aGrUM 3.0.0
a C++ library for (probabilistic) graphical models
|
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> | |
| Sequence< NodeId > | gum::graph::topologicalOrder (const G &g) |
Returns a topological ordering of the nodes of g (Kahn's algorithm). | |
| template<GUM_UndiGraphable G> | |
| bool | gum::graph::hasUndirectedCycle (const G &g) |
Returns true if g contains at least one undirected cycle. | |