![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org. More...
#include <agrum/agrum.h>
#include <agrum/tools/core/priorityQueue.h>
#include <agrum/tools/core/sequence.h>
#include <agrum/tools/graphicalModels/inference/scheduler/scheduleCombination.h>
#include <agrum/tools/variables/discreteVariable.h>
#include <agrum/tools/graphicalModels/inference/scheduler/scheduleCombinationBasic_tpl.h>
Go to the source code of this file.
Classes | |
class | gum::ScheduleCombinationBasic< GUM_SCALAR > |
Namespaces | |
gum | |
Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org. | |
Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library. If not, see http://www.gnu.org/licenses/. A class to combine efficiently several ScheduleMultiDims
MultiDimCombinationBasic is a class 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 MultiDimCombinationBasic 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 MultiDimCombinationBasics:
Definition in file scheduleCombinationBasic.h.