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> 66 const Sequence<
const DiscreteVariable* >& varSeq);
85 bool _createLeaf_(NodeId currentNodeId, HashTable< NodeId, Idx >& node2MinVar);
Idx _nbTotalVar_
The total number of variables.
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.
const Sequence< const DiscreteVariable *> _varSeq_
The variables.
static Idx _genSeed_
The seed for random numbers.
Idx _generateVarPos_(Idx offset, Idx span)
Generate a variable position.
~MultiDimFunctionGraphGenerator()
Class destructor.
MultiDimFunctionGraphGenerator(Idx maxVar, Idx minVar, const Sequence< const DiscreteVariable * > &varSeq)
Default constructor.