31 #ifndef GUM_LEAF_PAIR_H 32 #define GUM_LEAF_PAIR_H 73 void*
operator new(
size_t s) {
76 void operator delete(
void* p) {
137 #endif // GUM_LEAF_PAIR_H virtual bool contains(NodeId testedId) const
Returns true if abstractleaf has leaf in it.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
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>
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
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.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.