28 #ifndef GUM_COMPOSED_LEAF_H 29 #define GUM_COMPOSED_LEAF_H 68 void*
operator new(
size_t s) {
71 void operator delete(
void* p) {
106 #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.
Headers of the abstract Leaf class.
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.
gum is the global namespace for all aGrUM entities
~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.