![]() |
aGrUM
0.16.0
|
A generic class to project efficiently a MultiDim table over all of its variables. More...
#include <agrum/multidim/operators/multiDimCompleteProjection.h>
Public Member Functions | |
Constructors / Destructors | |
MultiDimCompleteProjection (GUM_SCALAR(*proj)(const TABLE< GUM_SCALAR > &, Instantiation *)) | |
Default constructor. More... | |
MultiDimCompleteProjection (const MultiDimCompleteProjection< GUM_SCALAR, TABLE > &) | |
Copy constructor. More... | |
virtual | ~MultiDimCompleteProjection () |
Destructor. More... | |
virtual MultiDimCompleteProjection< GUM_SCALAR, TABLE > * | newFactory () const |
Virtual constructor. More... | |
Accessors/Modifiers | |
GUM_SCALAR | project (const TABLE< GUM_SCALAR > &table, Instantiation *instantiation=0) |
Creates and returns the projection of the table over all of its vars. More... | |
void | setProjectFunction (GUM_SCALAR(*proj)(const TABLE< GUM_SCALAR > &, Instantiation *)) |
Changes the function used for projecting TABLES. More... | |
Protected Attributes | |
GUM_SCALAR(* | _proj )(const TABLE< GUM_SCALAR > &, Instantiation *) |
The projection function actually used. More... | |
A generic class to project efficiently a MultiDim table over all of its variables.
Definition at line 49 of file multiDimCompleteProjection.h.
gum::MultiDimCompleteProjection< GUM_SCALAR, TABLE >::MultiDimCompleteProjection | ( | GUM_SCALAR(*)(const TABLE< GUM_SCALAR > &, Instantiation *) | proj | ) |
Default constructor.
gum::MultiDimCompleteProjection< GUM_SCALAR, TABLE >::MultiDimCompleteProjection | ( | const MultiDimCompleteProjection< GUM_SCALAR, TABLE > & | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Virtual constructor.
|
private |
Forbid copy operators.
GUM_SCALAR gum::MultiDimCompleteProjection< GUM_SCALAR, TABLE >::project | ( | const TABLE< GUM_SCALAR > & | table, |
Instantiation * | instantiation = 0 |
||
) |
Creates and returns the projection of the table over all of its vars.
void gum::MultiDimCompleteProjection< GUM_SCALAR, TABLE >::setProjectFunction | ( | GUM_SCALAR(*)(const TABLE< GUM_SCALAR > &, Instantiation *) | proj | ) |
Changes the function used for projecting TABLES.
|
protected |
The projection function actually used.
Definition at line 97 of file multiDimCompleteProjection.h.