48#ifndef GUM_BARREN_NODES_FINDER_H
49#define GUM_BARREN_NODES_FINDER_H
122 template <
typename GUM_SCALAR >
Class representing Bayesian networks.
const NodeSet * _observed_nodes_
the set of observed nodes
~BarrenNodesFinder()
destructor
const DAG * _dag_
the DAG on which we compute the barren nodes
BarrenNodesFinder & operator=(const BarrenNodesFinder &from)
copy operator
void setDAG(const DAG *new_dag)
sets a new DAG
void setEvidence(const NodeSet *observed_nodes)
sets the observed nodes in the DAG
void setTargets(const NodeSet *target_nodes)
sets the set of target nodes we are interested in
ArcProperty< Set< const Tensor< GUM_SCALAR > * > > barrenTensors(const CliqueGraph &junction_tree, const IBayesNet< GUM_SCALAR > &bn)
returns the set of barren tensors in messages sent in a junction tree
NodeSet barrenNodes()
returns the set of barren nodes
BarrenNodesFinder(const DAG *dag)
default constructor
const NodeSet * _target_nodes_
the set of targeted nodes
Class representing the minimal interface for Bayesian network with no numerical data.
Basic class for all graphs of cliques (join trees, etc).
HashTable< Arc, VAL > ArcProperty
Property on graph elements.
Set< NodeId > NodeSet
Some typdefs and define for shortcuts ...
gum is the global namespace for all aGrUM entities