28 #ifndef GUM_FUSION_CONTEXT_H 29 #define GUM_FUSION_CONTEXT_H 50 typedef HashTableConstIteratorSafe< LeafPair*, std::vector< Size > >
54 template <
bool isInitial = false >
75 void*
operator new(
size_t s) {
78 void operator delete(
void* p) {
250 #endif // GUM_FUSION_CONTEXT_H Set< LeafPair *> __associatedPairs(Int2Type< false >)
Template trick for efficient development.
Priority queues in which the same element can appear several times.
HashTableConstIteratorSafe< LeafPair *, std::vector< Size > > pair_iterator
Headers of the abstract Leaf class.
bool __updateAssociatedLeaf(AbstractLeaf *, Int2Type< true >)
<agrum/FMDP/learning/datastructure/leaves/fusionContext.h>
bool __updateAllAssociatedLeaves(Int2Type< true >)
bool __updateAllAssociatedLeaves(Int2Type< false >)
bool removePair(LeafPair *p)
bool __containsAssociatedLeaf(AbstractLeaf *l, Int2Type< false >)
<agrum/FMDP/learning/datastructure/leaves/abstractLeaf.h>
Safe Const Iterators for hashtables.
<agrum/FMDP/learning/datastructure/leaves/leafPair.h>
Set< LeafPair *> __associatedPairs(Int2Type< true >)
LeafPair * leafAssociatedPair(AbstractLeaf *l)
gum is the global namespace for all aGrUM entities
bool __deassociateLeaf(AbstractLeaf *, Int2Type< true >)
Set< LeafPair *> associatedPairs()
The class for generic Hash Tables.
bool __associateLeaf(AbstractLeaf *, Int2Type< true >)
FusionContext(AbstractLeaf *)
Default constructor.
Representation of a setA Set is a structure that contains arbitrary elements.
bool __deassociateLeaf(AbstractLeaf *, Int2Type< false >)
bool __associateLeaf(AbstractLeaf *, Int2Type< false >)
bool __containsAssociatedLeaf(AbstractLeaf *, Int2Type< true >)
Templates for fusion context class.
bool addPair(LeafPair *p)
bool deassociateLeaf(AbstractLeaf *l)
void deallocate(void *pDeallocatedObject, const size_t &objectSize)
Deallocates an object.
HashTable< AbstractLeaf *, LeafPair *> __leaf2Pair
bool containsAssociatedLeaf(AbstractLeaf *l)
MultiPriorityQueue< LeafPair *, double, std::less< double > > __pairsHeap
bool __updateAssociatedLeaf(AbstractLeaf *, Int2Type< false >)
bool updateAllAssociatedLeaves()
void * allocate(const size_t &objectSize)
Allocates a block.
~FusionContext()
Default destructor.
static SmallObjectAllocator & instance()
bool associateLeaf(AbstractLeaf *l)
bool updateAssociatedLeaf(AbstractLeaf *l)
Headers of the leaf pair class.
bool updatePair(LeafPair *p)
A MultiPriorityQueue is a heap in which each element has a mutable priority and duplicates are allowe...
pair_iterator beginPairs()
some utils for topology : NodeId, Edge, Arc and consorts ...