aGrUM 3.0.0
a C++ library for (probabilistic) graphical models
bayesBall_tpl.h File Reference
Include dependency graph for bayesBall_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::graph

Functions

template<GUM_DiGraphable G, bool CollectAll>
NodeSet gum::graph::_bayesBall_ (const G &g, const NodeSet &query, const NodeSet &Zhard, const NodeSet &Zsoft)
template<GUM_DiGraphable G>
NodeSet gum::graph::requisiteNodes (const G &g, const NodeSet &query, const NodeSet &Zhard=NodeSet(), const NodeSet &Zsoft=NodeSet())
 Returns the Shachter-requisite nodes for query given evidence.
template<GUM_DiGraphable G>
NodeSet gum::graph::dConnected (const G &g, const NodeSet &query, const NodeSet &Zhard=NodeSet(), const NodeSet &Zsoft=NodeSet())
 Returns all nodes d-connected to query given evidence.