62 #ifndef GUM_SCHEDULE_PROJECTION_H 63 #define GUM_SCHEDULE_PROJECTION_H 73 template <
typename GUM_SCALAR >
118 template <
template <
typename >
class TABLE >
120 project(
const TABLE< GUM_SCALAR >& table,
142 template <
template <
typename >
class TABLE >
156 virtual std::pair< long, long >
160 std::pair< long, long >
164 template <
template <
typename >
class TABLE >
165 std::pair< long, long >
virtual ScheduleProjection< GUM_SCALAR > * newFactory() const =0
virtual constructor
ScheduleProjection()
default constructor
virtual MultiDimImplementation< GUM_SCALAR > *(*)(const MultiDimImplementation< GUM_SCALAR > &, const Set< const DiscreteVariable *> &) projectFunction()
returns the projection function currently used by the projector
a MultiDimImplementation Wrapper used for scheduling inferences
Base class for discrete random variable.
a MultiDimImplementation Wrapper used for scheduling inferences
virtual ~ScheduleProjection()
destructor
A generic class to project efficiently a ScheduleMultiDim over a subset of its variables.
gum is the global namespace for all aGrUM entities
virtual void setProjectFunction(MultiDimImplementation< GUM_SCALAR > *(*proj)(const MultiDimImplementation< GUM_SCALAR > &, const Set< const DiscreteVariable * > &))=0
changes the function used for projecting tables
Representation of a setA Set is a structure that contains arbitrary elements.
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...
ScheduleProjection< GUM_SCALAR > & operator=(const ScheduleProjection< GUM_SCALAR > &)
to be coherent with combinations, forbid copy operators
Class containing a schedule of operations to perform on multidims.
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
Class containing a schedule of operations to perform on multidims.
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
<agrum/multidim/multiDimImplementation.h>