![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
A generic interface to combine and project efficiently MultiDim tables. More...
#include <agrum/tools/multidim/operators/multiDimCombineAndProject.h>
Public Member Functions | |
Constructors / Destructors | |
MultiDimCombineAndProject () | |
default constructor More... | |
MultiDimCombineAndProject (const MultiDimCombineAndProject< GUM_SCALAR, TABLE > &) | |
copy constructor More... | |
virtual | ~MultiDimCombineAndProject () |
destructor More... | |
virtual MultiDimCombineAndProject< GUM_SCALAR, TABLE > * | newFactory () const =0 |
virtual constructor More... | |
Accessors/Modifiers | |
virtual Set< const TABLE< GUM_SCALAR > *> | combineAndProject (Set< const TABLE< GUM_SCALAR > * > set, Set< const DiscreteVariable * > del_vars)=0 |
creates and returns the result of the projection over the variables not in del_vars of the combination of the tables within set More... | |
virtual void | setCombineFunction (TABLE< GUM_SCALAR > *(*combine)(const TABLE< GUM_SCALAR > &, const TABLE< GUM_SCALAR > &))=0 |
changes the function used for combining two TABLES More... | |
virtual TABLE< GUM_SCALAR > *(*)(const TABLE< GUM_SCALAR > &, const TABLE< GUM_SCALAR > &) | combineFunction () |
returns the current combination function More... | |
virtual void | setProjectFunction (TABLE< GUM_SCALAR > *(*proj)(const TABLE< GUM_SCALAR > &, const Set< const DiscreteVariable * > &))=0 |
changes the function used for projecting TABLES More... | |
virtual TABLE< GUM_SCALAR > *(*)(const TABLE< GUM_SCALAR > &, const Set< const DiscreteVariable *> &) | projectFunction () |
returns the current projection function More... | |
virtual float | nbOperations (const Set< const TABLE< GUM_SCALAR > * > &set, const Set< const DiscreteVariable * > &del_vars) const =0 |
returns a rough estimate of the number of operations that will be performed to compute the combination. More... | |
virtual std::pair< long, long > | memoryUsage (const Set< const Sequence< const DiscreteVariable * > * > &set, Set< const DiscreteVariable * > del_vars) const =0 |
creates and returns the result of the projection over the variables not in del_vars of the combination of the tables within set More... | |
A generic interface to combine and project efficiently MultiDim tables.
Definition at line 49 of file multiDimCombineAndProject.h.
gum::MultiDimCombineAndProject< GUM_SCALAR, TABLE >::MultiDimCombineAndProject | ( | ) |
default constructor
gum::MultiDimCombineAndProject< GUM_SCALAR, TABLE >::MultiDimCombineAndProject | ( | const MultiDimCombineAndProject< GUM_SCALAR, TABLE > & | ) |
copy constructor
|
virtual |
destructor
|
pure virtual |
creates and returns the result of the projection over the variables not in del_vars of the combination of the tables within set
InvalidArgumentsNumber | exception is thrown if the set passed in argument contains less than two elements |
Implemented in gum::MultiDimCombineAndProjectDefault< GUM_SCALAR, TABLE >.
|
virtual |
returns the current combination function
Reimplemented in gum::MultiDimCombineAndProjectDefault< GUM_SCALAR, TABLE >.
|
pure virtual |
creates and returns the result of the projection over the variables not in del_vars of the combination of the tables within set
InvalidArgumentsNumber | exception is thrown if the set passed in argument contains less than two elements |
Implemented in gum::MultiDimCombineAndProjectDefault< GUM_SCALAR, TABLE >.
|
pure virtual |
returns a rough estimate of the number of operations that will be performed to compute the combination.
Implemented in gum::MultiDimCombineAndProjectDefault< GUM_SCALAR, TABLE >.
|
pure virtual |
virtual constructor
Implemented in gum::MultiDimCombineAndProjectDefault< GUM_SCALAR, TABLE >.
|
private |
forbid copy operators
|
virtual |
returns the current projection function
Reimplemented in gum::MultiDimCombineAndProjectDefault< GUM_SCALAR, TABLE >.
|
pure virtual |
changes the function used for combining two TABLES
Implemented in gum::MultiDimCombineAndProjectDefault< GUM_SCALAR, TABLE >.
|
pure virtual |
changes the function used for projecting TABLES
Implemented in gum::MultiDimCombineAndProjectDefault< GUM_SCALAR, TABLE >.