58 INLINE
void* ComposedLeaf::operator
new(
size_t s) {
62 INLINE
void ComposedLeaf::operator
delete(
void* p) {
67 return _l1_->effectif(moda) +
_l2_->effectif(moda);
virtual bool contains(NodeId testedId) const
Returns true if abstractleaf has leaf in it.
AbstractLeaf(NodeId leafId)
Default constructor.
ComposedLeaf(NodeId leafId, AbstractLeaf *l1, AbstractLeaf *l2)
Default constructor.
~ComposedLeaf() override
Default destructor.
bool contains(NodeId testedId) const override
Returns true if abstractleaf has leaf in it.
double effectif(Idx moda) const override
Gaves the leaf effectif for given modality.
double total() const override
Idx nbModa() const override
static SmallObjectAllocator & instance()
void * allocate(const size_t &objectSize)
Allocates a block.
void deallocate(void *pDeallocatedObject, const size_t &objectSize)
Deallocates an object.
Headers of the abstract leaf class.
Size Idx
Type for indexes.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities