![]() |
aGrUM
0.16.0
|
<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 48 of file composedLeaf.h.
|
inline |
Default constructor.
Definition at line 58 of file composedLeaf.h.
|
inline |
Default destructor.
Definition at line 66 of file composedLeaf.h.
Returns true if abstractleaf has leaf in it.
Reimplemented from gum::AbstractLeaf.
Definition at line 91 of file composedLeaf.h.
References __l1, __l2, and gum::AbstractLeaf::contains().
Gaves the leaf effectif for given modality.
Implements gum::AbstractLeaf.
Definition at line 83 of file composedLeaf.h.
References __l1, __l2, and gum::AbstractLeaf::effectif().
|
inlineinherited |
Definition at line 95 of file abstractLeaf.h.
References gum::AbstractLeaf::__leafId, gum::AbstractLeaf::nbModa(), and gum::AbstractLeaf::toString().
Referenced by toString(), gum::ConcreteLeaf< AttributeSelection, isScalar >::toString(), and gum::LeafAggregator::updateLeaf().
|
inlinevirtual |
Implements gum::AbstractLeaf.
Definition at line 96 of file composedLeaf.h.
References __l1, gum::AbstractLeaf::nbModa(), and toString().
|
inline |
Default constructor.
Definition at line 74 of file composedLeaf.h.
References gum::SmallObjectAllocator::deallocate(), and gum::SmallObjectAllocator::instance().
|
inline |
Allocators and Deallocators redefinition.
Definition at line 71 of file composedLeaf.h.
References gum::SmallObjectAllocator::allocate(), and gum::SmallObjectAllocator::instance().
|
virtual |
Implements gum::AbstractLeaf.
Definition at line 35 of file composedLeaf.cpp.
References __l1, __l2, gum::AbstractLeaf::id(), and gum::AbstractLeaf::toString().
Referenced by nbModa().
|
inlinevirtual |
Implements gum::AbstractLeaf.
Definition at line 86 of file composedLeaf.h.
References __l1, __l2, and gum::AbstractLeaf::total().
|
private |
Definition at line 101 of file composedLeaf.h.
Referenced by contains(), effectif(), nbModa(), toString(), and total().
|
private |
Definition at line 102 of file composedLeaf.h.
Referenced by contains(), effectif(), toString(), and total().