![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
<agrum/FMDP/learning/datastructure/leaves/composedLeaf.h> More...
#include <composedLeaf.h>
Public Member Functions | |
double | effectif (Idx moda) const |
Gaves the leaf effectif for given modality. More... | |
double | total () const |
bool | contains (NodeId testedId) const |
Returns true if abstractleaf has leaf in it. More... | |
Idx | nbModa () const |
std::string | toString () |
NodeId | id () |
Constructor & destructor. | |
ComposedLeaf (NodeId leafId, AbstractLeaf *l1, AbstractLeaf *l2) | |
Default constructor. More... | |
~ComposedLeaf () | |
Default destructor. More... | |
void * | operator new (size_t s) |
Allocators and Deallocators redefinition. More... | |
void | operator delete (void *p) |
Default constructor. More... | |
<agrum/FMDP/learning/datastructure/leaves/composedLeaf.h>
A leaf that has leaves inside
Definition at line 47 of file composedLeaf.h.
|
inline |
Default constructor.
Definition at line 57 of file composedLeaf.h.
References ComposedLeaf().
Referenced by ComposedLeaf().
|
inline |
Default destructor.
Definition at line 65 of file composedLeaf.h.
Returns true if abstractleaf has leaf in it.
Reimplemented from gum::AbstractLeaf.
Definition at line 89 of file composedLeaf.h.
Gaves the leaf effectif for given modality.
Implements gum::AbstractLeaf.
Definition at line 83 of file composedLeaf.h.
|
inlineinherited |
Definition at line 93 of file abstractLeaf.h.
|
inlinevirtual |
Implements gum::AbstractLeaf.
Definition at line 94 of file composedLeaf.h.
|
inline |
Default constructor.
Definition at line 74 of file composedLeaf.h.
|
inline |
Allocators and Deallocators redefinition.
Definition at line 73 of file composedLeaf.h.
|
virtual |
Implements gum::AbstractLeaf.
Definition at line 35 of file composedLeaf.cpp.
References gum::Set< Key, Alloc >::emplace().
|
inlinevirtual |
Implements gum::AbstractLeaf.
Definition at line 84 of file composedLeaf.h.
|
private |
Definition at line 99 of file composedLeaf.h.
|
private |
Definition at line 100 of file composedLeaf.h.