![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
#include <scheduleProjection.h>
Public Member Functions | |
Constructors / Destructors | |
ScheduleProjection () | |
default constructor More... | |
ScheduleProjection (const ScheduleProjection< GUM_SCALAR > &) | |
copy constructor More... | |
virtual | ~ScheduleProjection () |
destructor More... | |
virtual ScheduleProjection< GUM_SCALAR > * | newFactory () const =0 |
virtual constructor More... | |
Accessors/Modifiers | |
virtual ScheduleMultiDim< GUM_SCALAR > | project (const ScheduleMultiDim< GUM_SCALAR > &table, const Set< const DiscreteVariable * > &del_vars, Schedule< GUM_SCALAR > &schedule)=0 |
creates and returns the projection of the table over a subset of its vars More... | |
ScheduleMultiDim< GUM_SCALAR > | project (const MultiDimImplementation< GUM_SCALAR > &table, const Set< const DiscreteVariable * > &del_vars, Schedule< GUM_SCALAR > &schedule) |
creates and returns the projection of the table over a subset of its vars More... | |
template<template< typename > class TABLE> | |
ScheduleMultiDim< GUM_SCALAR > | project (const TABLE< GUM_SCALAR > &table, const Set< const DiscreteVariable * > &del_vars, Schedule< GUM_SCALAR > &schedule) |
creates and returns the projection of the table over a subset of its vars More... | |
virtual void | setProjectFunction (MultiDimImplementation< GUM_SCALAR > *(*proj)(const MultiDimImplementation< GUM_SCALAR > &, const Set< const DiscreteVariable * > &))=0 |
changes the function used for projecting tables More... | |
virtual MultiDimImplementation< GUM_SCALAR > *(*)(const MultiDimImplementation< GUM_SCALAR > &, const Set< const DiscreteVariable *> &) | projectFunction () |
returns the projection function currently used by the projector More... | |
virtual float | nbOperations (const ScheduleMultiDim< GUM_SCALAR > &table, const Set< const DiscreteVariable * > &del_vars, const Schedule< GUM_SCALAR > &schedule)=0 |
returns a rough estimate of the number of operations that will be performed to compute the projection More... | |
float | nbOperations (const MultiDimImplementation< GUM_SCALAR > &table, const Set< const DiscreteVariable * > &del_vars, const Schedule< GUM_SCALAR > &schedule) |
creates and returns the projection of the table over a subset of its vars More... | |
template<template< typename > class TABLE> | |
float | nbOperations (const TABLE< GUM_SCALAR > &set, const Set< const DiscreteVariable * > &del_vars, const Schedule< GUM_SCALAR > &schedule) |
creates and returns the projection of the table over a subset of its vars More... | |
virtual std::pair< long, long > | memoryUsage (const ScheduleMultiDim< GUM_SCALAR > &table, const Set< const DiscreteVariable * > &del_vars, const Schedule< GUM_SCALAR > &schedule)=0 |
returns the memory consumption used during the projection More... | |
std::pair< long, long > | memoryUsage (const MultiDimImplementation< GUM_SCALAR > &table, const Set< const DiscreteVariable * > &del_vars, const Schedule< GUM_SCALAR > &schedule) |
creates and returns the projection of the table over a subset of its vars More... | |
template<template< typename > class TABLE> | |
std::pair< long, long > | memoryUsage (const TABLE< GUM_SCALAR > &table, const Set< const DiscreteVariable * > &del_vars, const Schedule< GUM_SCALAR > &schedule) |
creates and returns the projection of the table over a subset of its vars More... | |
Definition at line 76 of file scheduleProjection.h.
gum::ScheduleProjection< GUM_SCALAR >::ScheduleProjection | ( | ) |
default constructor
gum::ScheduleProjection< GUM_SCALAR >::ScheduleProjection | ( | const ScheduleProjection< GUM_SCALAR > & | ) |
copy constructor
|
virtual |
destructor
|
pure virtual |
returns the memory consumption used during the projection
Actually, this function does not return a precise account of the memory used by the multidimProjection but a rough estimate based on the size of the table involved in the projection.
Implemented in gum::ScheduleProjectionBasic< GUM_SCALAR >.
std::pair< long, long > gum::ScheduleProjection< GUM_SCALAR >::memoryUsage | ( | const MultiDimImplementation< GUM_SCALAR > & | table, |
const Set< const DiscreteVariable * > & | del_vars, | ||
const Schedule< GUM_SCALAR > & | schedule | ||
) |
creates and returns the projection of the table over a subset of its vars
std::pair< long, long > gum::ScheduleProjection< GUM_SCALAR >::memoryUsage | ( | const TABLE< GUM_SCALAR > & | table, |
const Set< const DiscreteVariable * > & | del_vars, | ||
const Schedule< GUM_SCALAR > & | schedule | ||
) |
creates and returns the projection of the table over a subset of its vars
|
pure virtual |
returns a rough estimate of the number of operations that will be performed to compute the projection
Implemented in gum::ScheduleProjectionBasic< GUM_SCALAR >.
float gum::ScheduleProjection< GUM_SCALAR >::nbOperations | ( | const MultiDimImplementation< GUM_SCALAR > & | table, |
const Set< const DiscreteVariable * > & | del_vars, | ||
const Schedule< GUM_SCALAR > & | schedule | ||
) |
creates and returns the projection of the table over a subset of its vars
float gum::ScheduleProjection< GUM_SCALAR >::nbOperations | ( | const TABLE< GUM_SCALAR > & | set, |
const Set< const DiscreteVariable * > & | del_vars, | ||
const Schedule< GUM_SCALAR > & | schedule | ||
) |
creates and returns the projection of the table over a subset of its vars
|
pure virtual |
virtual constructor
Implemented in gum::ScheduleProjectionBasic< GUM_SCALAR >.
|
private |
to be coherent with combinations, forbid copy operators
|
pure virtual |
creates and returns the projection of the table over a subset of its vars
Implemented in gum::ScheduleProjectionBasic< GUM_SCALAR >.
ScheduleMultiDim< GUM_SCALAR > gum::ScheduleProjection< GUM_SCALAR >::project | ( | const MultiDimImplementation< GUM_SCALAR > & | table, |
const Set< const DiscreteVariable * > & | del_vars, | ||
Schedule< GUM_SCALAR > & | schedule | ||
) |
creates and returns the projection of the table over a subset of its vars
ScheduleMultiDim< GUM_SCALAR > gum::ScheduleProjection< GUM_SCALAR >::project | ( | const TABLE< GUM_SCALAR > & | table, |
const Set< const DiscreteVariable * > & | del_vars, | ||
Schedule< GUM_SCALAR > & | schedule | ||
) |
creates and returns the projection of the table over a subset of its vars
|
virtual |
returns the projection function currently used by the projector
Reimplemented in gum::ScheduleProjectionBasic< GUM_SCALAR >.
|
pure virtual |
changes the function used for projecting tables
Implemented in gum::ScheduleProjectionBasic< GUM_SCALAR >.