<agrum/FMDP/learning/datastructure/leaves/fusionContext.h>
More...
#include <fusionContext.h>
template<bool isInitial = false>
class gum::FusionContext< isInitial >
<agrum/FMDP/learning/datastructure/leaves/fusionContext.h>
Contains leaves situation after a merging have been made
Definition at line 58 of file fusionContext.h.
◆ FusionContext()
Default constructor.
Definition at line 44 of file fusionContext_tpl.h.
FusionContext(AbstractLeaf *)
Default constructor.
◆ ~FusionContext()
Default destructor.
Definition at line 52 of file fusionContext_tpl.h.
58 delete leafIter.val();
FusionContext(AbstractLeaf *)
Default constructor.
HashTable< AbstractLeaf *, LeafPair *> __leaf2Pair
◆ __associatedPairs() [1/2]
◆ __associatedPairs() [2/2]
template<bool isInitial = false>
◆ __associateLeaf() [1/2]
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 71 of file fusionContext_tpl.h.
Referenced by gum::FusionContext< true >::associateLeaf().
75 LeafPair* p =
new LeafPair(l,
__leaf);
HashTable< AbstractLeaf *, LeafPair *> __leaf2Pair
MultiPriorityQueue< LeafPair *, double, std::less< double > > __pairsHeap
◆ __associateLeaf() [2/2]
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 118 of file fusionContext.h.
◆ __containsAssociatedLeaf() [1/2]
template<bool isInitial = false>
◆ __containsAssociatedLeaf() [2/2]
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 104 of file fusionContext.h.
◆ __deassociateLeaf() [1/2]
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 120 of file fusionContext_tpl.h.
Referenced by gum::FusionContext< true >::deassociateLeaf().
HashTable< AbstractLeaf *, LeafPair *> __leaf2Pair
MultiPriorityQueue< LeafPair *, double, std::less< double > > __pairsHeap
◆ __deassociateLeaf() [2/2]
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 155 of file fusionContext.h.
◆ __updateAllAssociatedLeaves() [1/2]
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 101 of file fusionContext_tpl.h.
Referenced by gum::FusionContext< true >::updateAllAssociatedLeaves().
104 for (HashTableConstIteratorSafe< AbstractLeaf*, LeafPair* > pairIter =
108 pairIter.val()->updateLikelyhood();
109 __pairsHeap.setPriority(pairIter.val(), pairIter.val()->likelyhood());
HashTable< AbstractLeaf *, LeafPair *> __leaf2Pair
MultiPriorityQueue< LeafPair *, double, std::less< double > > __pairsHeap
◆ __updateAllAssociatedLeaves() [2/2]
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 140 of file fusionContext.h.
◆ __updateAssociatedLeaf() [1/2]
◆ __updateAssociatedLeaf() [2/2]
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 131 of file fusionContext.h.
◆ addPair()
◆ associatedPairs()
template<bool isInitial = false>
Definition at line 226 of file fusionContext.h.
Set< LeafPair *> __associatedPairs(Int2Type< false >)
◆ associateLeaf()
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 112 of file fusionContext.h.
Referenced by gum::LeafAggregator::update().
bool __associateLeaf(AbstractLeaf *, Int2Type< false >)
◆ beginPairs()
template<bool isInitial = false>
◆ containsAssociatedLeaf()
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 96 of file fusionContext.h.
Referenced by gum::LeafAggregator::update().
bool __containsAssociatedLeaf(AbstractLeaf *l, Int2Type< false >)
◆ deassociateLeaf()
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 149 of file fusionContext.h.
bool __deassociateLeaf(AbstractLeaf *, Int2Type< false >)
◆ endPairs()
template<bool isInitial = false>
◆ leaf()
template<bool isInitial = false>
◆ leafAssociatedPair()
template<bool isInitial = false>
Definition at line 218 of file fusionContext.h.
HashTable< AbstractLeaf *, LeafPair *> __leaf2Pair
◆ operator delete()
template<bool isInitial = false>
Default constructor.
Definition at line 81 of file fusionContext.h.
FusionContext(AbstractLeaf *)
Default constructor.
void deallocate(void *pDeallocatedObject, const size_t &objectSize)
Deallocates an object.
static SmallObjectAllocator & instance()
◆ operator new()
template<bool isInitial = false>
Allocators and Deallocators redefinition.
Definition at line 78 of file fusionContext.h.
void * allocate(const size_t &objectSize)
Allocates a block.
static SmallObjectAllocator & instance()
◆ removePair()
◆ top()
template<bool isInitial = false>
◆ topLikelyhood()
template<bool isInitial = false>
Definition at line 199 of file fusionContext.h.
MultiPriorityQueue< LeafPair *, double, std::less< double > > __pairsHeap
◆ toString()
◆ updateAllAssociatedLeaves()
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 134 of file fusionContext.h.
bool __updateAllAssociatedLeaves(Int2Type< false >)
◆ updateAssociatedLeaf()
template<bool isInitial = false>
- Warning
- : won't delete Associated Pair created (because subsequent fusioncontexts might be using it)
Definition at line 125 of file fusionContext.h.
bool __updateAssociatedLeaf(AbstractLeaf *, Int2Type< false >)
◆ updatePair()
◆ __leaf
template<bool isInitial = false>
◆ __leaf2Pair
template<bool isInitial = false>
◆ __pairsHeap
template<bool isInitial = false>
The documentation for this class was generated from the following files: