aGrUM
0.17.2
a C++ library for (probabilistic) graphical models
composedLeaf.cpp
Go to the documentation of this file.
1
29
// =======================================================
30
#include <
agrum/FMDP/learning/datastructure/leaves/composedLeaf.h
>
31
// =======================================================
32
33
34
namespace
gum
{
35
std::string
ComposedLeaf::toString
() {
36
std::stringstream ss;
37
ss <<
"{ Id : "
<< this->
id
() <<
" - Left : "
<<
__l1
->
toString
()
38
<<
" - Right : "
<<
__l2
->
toString
() <<
"}"
;
39
return
ss.str();
40
}
41
}
// namespace gum
composedLeaf.h
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
gum::ComposedLeaf::__l1
AbstractLeaf * __l1
Definition:
composedLeaf.h:101
gum::ComposedLeaf::toString
std::string toString()
Definition:
composedLeaf.cpp:35
gum::AbstractLeaf::id
NodeId id()
Definition:
abstractLeaf.h:95
gum
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Definition:
agrum.h:25
gum::AbstractLeaf::toString
virtual std::string toString()=0
gum::ComposedLeaf::__l2
AbstractLeaf * __l2
Definition:
composedLeaf.h:102