![]() |
aGrUM
0.14.2
|
A generic interface to combine efficiently several ScheduleMultiDims. More...
#include <agrum/core/set.h>
#include <agrum/graphicalModels/inference/schedule.h>
#include <agrum/graphicalModels/inference/scheduleMultiDim.h>
#include <agrum/multidim/implementations/multiDimImplementation.h>
#include <utility>
#include <agrum/graphicalModels/inference/scheduleCombination_tpl.h>
Go to the source code of this file.
Classes | |
class | gum::ScheduleCombination< GUM_SCALAR > |
Namespaces | |
gum | |
gum is the global namespace for all aGrUM entities | |
A generic interface to combine efficiently several ScheduleMultiDims.
MultiDimCombination is a generic interface designed to combine efficiently several ScheduleMultiDims, that is, to compute expressions like T1 op T2 op T3 op .... op Tn, where the Ti's are either the ScheduleMultiDims or just MultiDimImplementations that will be later wrapped into ScheduleMultiDims and op is an operator or a function taking in argument two such objects and producing a new (combined) Ti object. By default, the combination operation "op" is assumed to be COMMUTATIVE and ASSOCIATIVE.
To be quite generic, the MultiDimCombination takes in argument the function that produces the result of the combination of two multidimensional objects. The following code gives an example of the usage of MultiDimCombinations:
Definition in file scheduleCombination.h.