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.
Idx * varInstantiation__
Vector containing for each retrograde variable its current modality 0 meaning no instantiation done =...
static const Idx offsetv__
static const double logPrime__[]
Table containing the log2 of prime numbers.
const NodeId & DG1Node() const
Get DG1 diagram current explored Node.
void setDG1Node(const NodeId &)
Set DG1 diagram current explored Node.
static const Idx nbLogPrime__
O4DGContext(Idx *, Idx)
Default constructor.
void operator delete(void *p)
Operator delete overload to use the SmallObjectAllocator.
static const Idx offset2__
void setDG2Node(const NodeId &)
Set DG2 diagram current explored Node.
static const Idx offset1__
~O4DGContext()
Default destructor.
double key__
The key use to store the context as a key in the hashtable.
Class used to manipulate context during Function Graph Operations.
NodeId DG2ExploredNode__
DG2 Diagram current explored node.
Idx varModality(Idx)
Changes given variable modality.
NodeId DG1ExploredNode__
DG1 Diagram current explored node.