![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
Class building the markov Blanket from a BN and a nodeName. More...
#include <agrum/BN/algorithms/MarkovBlanket.h>
Public Member Functions | |
MarkovBlanket (const DAGmodel &m, NodeId n, int level=1) | |
MarkovBlanket (const DAGmodel &m, const std::string &name, int level=1) | |
~MarkovBlanket () | |
DAG | dag () |
std::string | toDot () const |
const NodeSet & | parents (NodeId id) const |
wrapping DAG::parents(id) More... | |
const NodeSet & | children (NodeId id) const |
wrapping DAG::children(id) More... | |
NodeSet | parents (const NodeSet &ids) const |
wrapping DAG::parents(ids) More... | |
NodeSet | children (const NodeSet &ids) const |
wrapping DAG::children(ids) More... | |
Size | sizeArcs () const |
wrapping DAG::sizeArcs() More... | |
const ArcSet & | arcs () const |
wrapping DAG::arcs() More... | |
Size | sizeNodes () const |
wrapping DAG::sizeNodes() More... | |
Size | size () const |
wrapping DAG::size() More... | |
const NodeGraphPart & | nodes () const |
wrapping DAG::nodes() More... | |
bool | hasSameStructure (const DAGmodel &other) |
Class building the markov Blanket from a BN and a nodeName.
The main goal of this class is to build and to encapsulate the DiGraph which represents the Markov Blanket.
Definition at line 48 of file MarkovBlanket.h.
Definition at line 36 of file MarkovBlanket.cpp.
References gum::Set< Key, Alloc >::emplace().
gum::MarkovBlanket::MarkovBlanket | ( | const DAGmodel & | m, |
const std::string & | name, | ||
int | level = 1 |
||
) |
Definition at line 67 of file MarkovBlanket.cpp.
References gum::Set< Key, Alloc >::emplace().
gum::MarkovBlanket::~MarkovBlanket | ( | ) |
Definition at line 70 of file MarkovBlanket.cpp.
Definition at line 72 of file MarkovBlanket.cpp.
References gum::Set< Key, Alloc >::emplace().
INLINE const ArcSet & gum::MarkovBlanket::arcs | ( | ) | const |
wrapping DAG::arcs()
Definition at line 46 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
wrapping DAG::children(id)
Definition at line 38 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
wrapping DAG::children(ids)
Definition at line 42 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
INLINE DAG gum::MarkovBlanket::dag | ( | ) |
Definition at line 34 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
Definition at line 110 of file MarkovBlanket.cpp.
References gum::Set< Key, Alloc >::emplace().
INLINE const NodeGraphPart & gum::MarkovBlanket::nodes | ( | ) | const |
wrapping DAG::nodes()
Definition at line 52 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
wrapping DAG::parents(id)
Definition at line 36 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
wrapping DAG::parents(ids)
Definition at line 40 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
INLINE Size gum::MarkovBlanket::size | ( | ) | const |
wrapping DAG::size()
Definition at line 50 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
INLINE Size gum::MarkovBlanket::sizeArcs | ( | ) | const |
wrapping DAG::sizeArcs()
Definition at line 44 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
INLINE Size gum::MarkovBlanket::sizeNodes | ( | ) | const |
wrapping DAG::sizeNodes()
Definition at line 48 of file MarkovBlanket_inl.h.
References gum::Set< Key, Alloc >::emplace().
std::string gum::MarkovBlanket::toDot | ( | ) | const |
Definition at line 130 of file MarkovBlanket.cpp.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 99 of file MarkovBlanket.h.
|
private |
Definition at line 98 of file MarkovBlanket.h.
|
private |
Definition at line 100 of file MarkovBlanket.h.
|
private |
Definition at line 101 of file MarkovBlanket.h.