28 #ifndef GUM_LEAF_PAIR_H 29 #define GUM_LEAF_PAIR_H 70 void*
operator new(
size_t s) {
73 void operator delete(
void* p) {
134 #endif // GUM_LEAF_PAIR_H virtual bool contains(NodeId testedId) const
Returns true if abstractleaf has leaf in it.
Headers of the abstract leaf class.
Headers of the abstract Leaf class.
AbstractLeaf * convert2Leaf(NodeId leafId) const
Returns a leaf matching data and having given id as id.
<agrum/FMDP/learning/datastructure/leaves/abstractLeaf.h>
~LeafPair()
Default destructor.
<agrum/FMDP/learning/datastructure/leaves/leafPair.h>
gum is the global namespace for all aGrUM entities
AbstractLeaf * otherLeaf(AbstractLeaf *l) const
AbstractLeaf * secondLeaf()
void deallocate(void *pDeallocatedObject, const size_t &objectSize)
Deallocates an object.
<agrum/FMDP/learning/datastructure/leaves/composedLeaf.h>
LeafPair(AbstractLeaf *l1, AbstractLeaf *l2)
Default constructor.
void * allocate(const size_t &objectSize)
Allocates a block.
AbstractLeaf * firstLeaf()
static SmallObjectAllocator & instance()
double likelyhood()
Updates GStatistic.
Size NodeId
Type for node ids.
bool contains(NodeId testedId)
Returns true if pair has leaf in it.
void updateLikelyhood()
Updates GStatistic.
some utils for topology : NodeId, Edge, Arc and consorts ...