50#ifndef GUM_COMPOSED_LEAF_H
51#define GUM_COMPOSED_LEAF_H
88 void*
operator new(
size_t s);
90 void operator delete(
void* p);
99 double total()
const override;
Headers of the abstract Leaf class.
AbstractLeaf(NodeId leafId)
Default constructor.
ComposedLeaf(NodeId leafId, AbstractLeaf *l1, AbstractLeaf *l2)
Default constructor.
std::string toString() override
~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
Size Idx
Type for indexes.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities