34 #include <agrum/agrum.h> 35 #include <agrum/tools/core/math/math_utils.h> 36 #include <agrum/tools/multidim/implementations/multiDimFunctionGraph.h> 113 const double&
key(
short int* instNeeded);
138 #ifndef GUM_NO_INLINE 139 # include <agrum/tools/multidim/utils/FunctionGraphUtilities/operators/o4DGContext_inl.h> const NodeId & DG2Node() const
Get DG2 diagram current explored Node.
void * operator new(size_t s)
Operator new overload to use the SmallObjectAllocator.
INLINE void emplace(Args &&... args)
const double & key(short int *instNeeded)
Returns o4DGContext key.
void chgVarModality(Idx, Idx)
Changes given variable modality.
NodeId _DG2ExploredNode_
DG2 Diagram current explored node.
const NodeId & DG1Node() const
Get DG1 diagram current explored Node.
void setDG1Node(const NodeId &)
Set DG1 diagram current explored Node.
static const Idx _offsetv_
O4DGContext(Idx *, Idx)
Default constructor.
void operator delete(void *p)
Operator delete overload to use the SmallObjectAllocator.
NodeId _DG1ExploredNode_
DG1 Diagram current explored node.
Idx * _varInstantiation_
Vector containing for each retrograde variable its current modality 0 meaning no instantiation done =...
static const double _logPrime_[]
Table containing the log2 of prime numbers.
static const Idx _offset1_
void setDG2Node(const NodeId &)
Set DG2 diagram current explored Node.
~O4DGContext()
Default destructor.
double _key_
The key use to store the context as a key in the hashtable.
static const Idx _nbLogPrime_
Class used to manipulate context during Function Graph Operations.
static const Idx _offset2_
Idx varModality(Idx)
Changes given variable modality.