aGrUM  0.16.0
MarkovBlanket_inl.h
Go to the documentation of this file.
1 
30 // to ease parsing by IDE
32 
33 namespace gum {
34 
35  INLINE DiGraph MarkovBlanket::mb() { return __mb; }
36 
37  INLINE const NodeSet& MarkovBlanket::parents(const NodeId id) const {
38  return __mb.parents(id);
39  }
40 
41  INLINE const NodeSet& MarkovBlanket::children(const NodeId id) const {
42  return __mb.children(id);
43  }
44 
45  INLINE Size MarkovBlanket::sizeArcs() const { return __mb.sizeArcs(); }
46 
47  INLINE const ArcSet& MarkovBlanket::arcs() const { return __mb.arcs(); }
48 
49  INLINE Size MarkovBlanket::sizeNodes() const { return __mb.sizeNodes(); }
50 
51  INLINE Size MarkovBlanket::size() const { return __mb.size(); }
52 
53  INLINE const NodeGraphPart& MarkovBlanket::nodes() const { return __mb.nodes(); }
54 } // namespace gum
const NodeSet & parents(const NodeId id) const
wrapping DiGraph::parents(id)
Size sizeArcs() const
wrapping DiGraph::sizeArcs()
Size sizeNodes() const
wrapping DiGraph::sizeNodes()
Size size() const
alias for sizeNodes
const NodeSet & children(const NodeId id) const
wrapping DiGraph::parents(id)
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
Size size() const
wrapping DiGraph::size()
const ArcSet & arcs() const
wrapping DiGraph::arcs()
Size sizeArcs() const
indicates the number of arcs stored within the ArcGraphPart
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
const NodeSet & parents(const NodeId id) const
returns the set of nodes with arc ingoing to a given node
const NodeGraphPart & nodes() const
return *this as a NodeGraphPart
Base class for all oriented graphs.
Definition: diGraph.h:111
Class for node sets in graph.
Size sizeNodes() const
returns the number of nodes in the NodeGraphPart
const NodeSet & children(const NodeId id) const
returns the set of nodes with arc outgoing from a given node
const ArcSet & arcs() const
returns the set of arcs stored within the ArcGraphPart
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Definition: types.h:48
Size NodeId
Type for node ids.
Definition: graphElements.h:98
const NodeGraphPart & nodes() const
wrapping DiGraph::nodes()