aGrUM  0.17.2
a C++ library for (probabilistic) graphical models
MarkovBlanket_inl.h
Go to the documentation of this file.
1 
30 // to ease parsing by IDE
32 
33 namespace gum {
34 
35  INLINE DAG MarkovBlanket::dag() { 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 DAG::parents(id)
Size sizeArcs() const
wrapping DAG::sizeArcs()
Size sizeNodes() const
wrapping DAG::sizeNodes()
Size size() const
alias for sizeNodes
const NodeSet & children(const NodeId id) const
wrapping DAG::parents(id)
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Definition: agrum.h:25
Size size() const
wrapping DAG::size()
const ArcSet & arcs() const
wrapping DAG::arcs()
Size sizeArcs() const
indicates the number of arcs stored within the ArcGraphPart
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
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
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
Base class for dag.
Definition: DAG.h:102
Size NodeId
Type for node ids.
Definition: graphElements.h:98
const NodeGraphPart & nodes() const
wrapping DAG::nodes()