![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
A generic class to project efficiently a MultiDim table over all of its variables. More...
#include <agrum/base/multidim/operators/multiDimCompleteProjection.h>
Public Member Functions | |
Constructors / Destructors | |
| MultiDimCompleteProjection (GUM_SCALAR(*proj)(const TABLE< GUM_SCALAR > &, Instantiation *)) | |
| Default constructor. | |
| MultiDimCompleteProjection (const MultiDimCompleteProjection< GUM_SCALAR, TABLE > &) | |
| Copy constructor. | |
| virtual | ~MultiDimCompleteProjection () |
| Destructor. | |
| virtual MultiDimCompleteProjection< GUM_SCALAR, TABLE > * | newFactory () const |
| Virtual constructor. | |
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. | |
| void | setProjectFunction (GUM_SCALAR(*proj)(const TABLE< GUM_SCALAR > &, Instantiation *)) |
| Changes the function used for projecting TABLES. | |
Protected Attributes | |
| GUM_SCALAR(* | proj_ )(const TABLE< GUM_SCALAR > &, Instantiation *) |
| The projection function actually used. | |
Private Member Functions | |
| MultiDimCompleteProjection< GUM_SCALAR, TABLE > & | operator= (const MultiDimCompleteProjection< GUM_SCALAR, TABLE > &) |
| Forbid copy operators. | |
A generic class to project efficiently a MultiDim table over all of its variables.
Definition at line 68 of file multiDimCompleteProjection.h.
| gum::MultiDimCompleteProjection< GUM_SCALAR, TABLE >::MultiDimCompleteProjection | ( | GUM_SCALAR(* | proj )(const TABLE< GUM_SCALAR > &, Instantiation *) | ) |
Default constructor.
Referenced by MultiDimCompleteProjection(), newFactory(), and operator=().
| gum::MultiDimCompleteProjection< GUM_SCALAR, TABLE >::MultiDimCompleteProjection | ( | const MultiDimCompleteProjection< GUM_SCALAR, TABLE > & | ) |
Copy constructor.
References MultiDimCompleteProjection().
|
virtual |
Destructor.
|
virtual |
Virtual constructor.
References MultiDimCompleteProjection().
|
private |
Forbid copy operators.
References MultiDimCompleteProjection().
| 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(* | proj )(const TABLE< GUM_SCALAR > &, Instantiation *) | ) |
Changes the function used for projecting TABLES.
|
protected |
The projection function actually used.
Definition at line 112 of file multiDimCompleteProjection.h.