50#ifndef GUM_FUSION_CONTEXT_H
51#define GUM_FUSION_CONTEXT_H
72 template <
bool isInitial = false >
95 void operator delete(
void* p) {
<agrum/FMDP/learning/datastructure/leaves/abstractLeaf.h>
bool _containsAssociatedLeaf_(AbstractLeaf *l, Int2Type< false >)
bool addPair(LeafPair *p)
bool removePair(LeafPair *p)
Set< LeafPair * > _associatedPairs_(Int2Type< false >)
FusionContext(AbstractLeaf *)
Default constructor.
bool _containsAssociatedLeaf_(AbstractLeaf *, Int2Type< true >)
bool _updateAssociatedLeaf_(AbstractLeaf *, Int2Type< true >)
MultiPriorityQueue< LeafPair *, double, std::less< double > > _pairsHeap_
bool updatePair(LeafPair *p)
bool updateAllAssociatedLeaves()
bool updateAssociatedLeaf(AbstractLeaf *l)
bool _deassociateLeaf_(AbstractLeaf *, Int2Type< true >)
bool _associateLeaf_(AbstractLeaf *, Int2Type< true >)
bool _deassociateLeaf_(AbstractLeaf *, Int2Type< false >)
LeafPair * leafAssociatedPair(AbstractLeaf *l)
bool _updateAllAssociatedLeaves_(Int2Type< false >)
bool containsAssociatedLeaf(AbstractLeaf *l)
~FusionContext()
Default destructor.
bool _updateAllAssociatedLeaves_(Int2Type< true >)
bool deassociateLeaf(AbstractLeaf *l)
Set< LeafPair * > _associatedPairs_(Int2Type< true >)
pair_iterator beginPairs()
Set< LeafPair * > associatedPairs()
bool _updateAssociatedLeaf_(AbstractLeaf *, Int2Type< false >)
bool associateLeaf(AbstractLeaf *l)
bool _associateLeaf_(AbstractLeaf *, Int2Type< false >)
HashTable< AbstractLeaf *, LeafPair * > _leaf2Pair_
Safe Const Iterators for hashtables.
The class for generic Hash Tables.
<agrum/FMDP/learning/datastructure/leaves/leafPair.h>
A MultiPriorityQueue is a heap in which each element has a mutable priority and duplicates are allowe...
static SmallObjectAllocator & instance()
void * allocate(const size_t &objectSize)
Allocates a block.
void deallocate(void *pDeallocatedObject, const size_t &objectSize)
Deallocates an object.
Templates for fusion context class.
Headers of the leaf pair class.
gum is the global namespace for all aGrUM entities
HashTableConstIteratorSafe< LeafPair *, std::vector< Size > > pair_iterator
Template trick for efficient development.