30 #include <agrum/tools/graphs/undiGraph.h> 31 #include <agrum/tools/graphs/diGraph.h> 116 bool nodes_resize_policy =
true,
118 bool arcs_resize_policy =
true);
157 void addArc(NodeId tail, NodeId head)
final;
176 bool dSeparation(NodeId X, NodeId Y,
const NodeSet& Z)
const;
180 bool dSeparation(
const NodeSet& X,
const NodeSet& Y,
const NodeSet& Z)
const;
185 #ifndef GUM_NO_INLINE 186 # include <agrum/tools/graphs/DAG_inl.h> bool dSeparation(NodeId X, NodeId Y, const NodeSet &Z) const
check if node X and node Y are independent given nodes Z (in the sense of d-separation) ...
void addArc(NodeId tail, NodeId head) final
insert a new arc into the directed graph
INLINE void emplace(Args &&... args)
UndiGraph moralGraph() const
build a UndiGraph by moralizing the dag
DAG & operator=(const DAG &g)
copy operator
DAG(const DAG &g)
copy constructor
DAG(Size nodes_size=HashTableConst::default_size, bool nodes_resize_policy=true, Size arcs_size=HashTableConst::default_size, bool arcs_resize_policy=true)
default constructor
UndiGraph moralizedAncestralGraph(const NodeSet &nodes) const
build a UndiGraph by moralizing the Ancestral Graph of a set of Nodes
bool dSeparation(const NodeSet &X, const NodeSet &Y, const NodeSet &Z) const
check if nodes X and nodes Y are independent given Z (in the sense of d-separation) ...