50#ifndef GUM_ABSTRACT_LEAF_H
51#define GUM_ABSTRACT_LEAF_H
97 void operator delete(
void* p) {
virtual ~AbstractLeaf()
Default destructor.
virtual bool contains(NodeId testedId) const
Returns true if abstractleaf has leaf in it.
virtual Idx nbModa() const =0
virtual double total() const =0
virtual double effectif(Idx) const =0
Gaves the leaf effectif for given modality.
AbstractLeaf(NodeId leafId)
Default constructor.
virtual std::string toString()=0
static SmallObjectAllocator & instance()
void * allocate(const size_t &objectSize)
Allocates a block.
void deallocate(void *pDeallocatedObject, const size_t &objectSize)
Deallocates an object.
some utils for topology : NodeId, Edge, Arc and consorts ...
Size Idx
Type for indexes.
Size NodeId
Type for node ids.
Priority queues in which the same element can appear several times.
gum is the global namespace for all aGrUM entities
Header file of gum::Sequence, a class for storing (ordered) sequences of objects.
Headers of gum::SmallObjectAllocator.