50#ifndef GUM_LEAF_PAIR_H
51#define GUM_LEAF_PAIR_H
94 void operator delete(
void* p) {
<agrum/FMDP/learning/datastructure/leaves/abstractLeaf.h>
<agrum/FMDP/learning/datastructure/leaves/composedLeaf.h>
AbstractLeaf * convert2Leaf(NodeId leafId) const
Returns a leaf matching data and having given id as id.
void updateLikelyhood()
Updates GStatistic.
bool contains(NodeId testedId)
Returns true if pair has leaf in it.
~LeafPair()
Default destructor.
LeafPair(AbstractLeaf *l1, AbstractLeaf *l2)
Default constructor.
AbstractLeaf * otherLeaf(AbstractLeaf *l) const
AbstractLeaf * secondLeaf()
double likelyhood()
Updates GStatistic.
AbstractLeaf * firstLeaf()
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 NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities