27 #ifndef GUM_SCHEDULE_COMBINE_H 28 #define GUM_SCHEDULE_COMBINE_H 32 #include <agrum/agrum.h> 34 #include <agrum/tools/core/sequence.h> 35 #include <agrum/tools/graphicalModels/inference/scheduler/scheduleMultiDim.h> 36 #include <agrum/tools/graphicalModels/inference/scheduler/scheduleOperation.h> 37 #include <agrum/tools/multidim/implementations/multiDimImplementation.h> 41 template <
typename GUM_SCALAR >
55 const ScheduleMultiDim< GUM_SCALAR >& table2,
154 #include <agrum/tools/graphicalModels/inference/scheduler/scheduleCombine_tpl.h> void execute()
executes the operation
std::string toString() const
displays the content of the operation
virtual ScheduleCombine< GUM_SCALAR > * newFactory() const
virtual copy constructor: creates a clone of the operation
ScheduleMultiDim< GUM_SCALAR > * _result_
the result of the operation
INLINE void emplace(Args &&... args)
ScheduleCombine(const ScheduleMultiDim< GUM_SCALAR > &table1, const ScheduleMultiDim< GUM_SCALAR > &table2, MultiDimImplementation< GUM_SCALAR > *(*combine)(const MultiDimImplementation< GUM_SCALAR > &, const MultiDimImplementation< GUM_SCALAR > &))
default constructor
ScheduleMultiDim< GUM_SCALAR > _table2_
the second table to combine with
std::pair< long, long > memoryUsage() const
returns the memory consumption used during the operation
ScheduleCombine< GUM_SCALAR > & operator=(const ScheduleCombine< GUM_SCALAR > &)
copy operator
ScheduleCombine(const ScheduleCombine< GUM_SCALAR > &)
copy constructor
float nbOperations() const
returns an estimation of the number of elementary operations needed to perform the ScheduleOperation ...
~ScheduleCombine()
destructor
Sequence< const ScheduleMultiDim< GUM_SCALAR > *> * _args_
the set of ScheduleMultidims passed in arguments
const Sequence< const ScheduleMultiDim< GUM_SCALAR > *> & multiDimResults() const
returns the set of multidims that should be the result of the operation
INLINE const ScheduleMultiDim< GUM_SCALAR > & result() const
returns the scheduleMultidim resulting from the execution of the operation
const Sequence< const ScheduleMultiDim< GUM_SCALAR > *> & multiDimArgs() const
returns the set of multidims passed in argument to the operation
Sequence< const ScheduleMultiDim< GUM_SCALAR > *> * _results_
the set of ScheduleMultidims resulting from the operation
ScheduleMultiDim< GUM_SCALAR > _table1_
the first table to combine