31 #ifndef GUM_MULTI_DIM_FUNCTION_GRAPH_GENERATOR_H 32 #define GUM_MULTI_DIM_FUNCTION_GRAPH_GENERATOR_H 34 #include <agrum/agrum.h> 35 #include <agrum/tools/multidim/implementations/multiDimFunctionGraph.h> 67 const Sequence<
const DiscreteVariable* >& varSeq);
86 bool createLeaf__(NodeId currentNodeId, HashTable< NodeId, Idx >& node2MinVar);
const Sequence< const DiscreteVariable *> varSeq__
The variables.
Idx generateVarPos__(Idx offset, Idx span)
Generate a variable position.
Class implementing a function graph generator with template type double.
INLINE void emplace(Args &&... args)
MultiDimFunctionGraph< double > * generate()
Generates a MultiDimFunctionGraph.
bool createLeaf__(NodeId currentNodeId, HashTable< NodeId, Idx > &node2MinVar)
Creates a leaf.
~MultiDimFunctionGraphGenerator()
Class destructor.
MultiDimFunctionGraphGenerator(Idx maxVar, Idx minVar, const Sequence< const DiscreteVariable * > &varSeq)
Default constructor.
Idx nbTotalVar__
The total number of variables.
static Idx genSeed__
The seed for random numbers.