31 #ifndef GUM_COMPOSED_LEAF_H 32 #define GUM_COMPOSED_LEAF_H 71 void*
operator new(
size_t s) {
74 void operator delete(
void* p) {
109 #endif // GUM_COMPOSED_LEAF_H virtual bool contains(NodeId testedId) const
Returns true if abstractleaf has leaf in it.
virtual double effectif(Idx) const =0
Gaves the leaf effectif for given modality.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
double effectif(Idx moda) const
Gaves the leaf effectif for given modality.
<agrum/FMDP/learning/datastructure/leaves/abstractLeaf.h>
bool contains(NodeId testedId) const
Returns true if abstractleaf has leaf in it.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
~ComposedLeaf()
Default destructor.
virtual Idx nbModa() const =0
ComposedLeaf(NodeId leafId, AbstractLeaf *l1, AbstractLeaf *l2)
Default constructor.
void deallocate(void *pDeallocatedObject, const size_t &objectSize)
Deallocates an object.
<agrum/FMDP/learning/datastructure/leaves/composedLeaf.h>
Size Idx
Type for indexes.
void * allocate(const size_t &objectSize)
Allocates a block.
static SmallObjectAllocator & instance()
virtual double total() const =0
Size NodeId
Type for node ids.