28 #ifndef GUM_SCHEDULER_H 29 #define GUM_SCHEDULER_H 31 #include <agrum/tools/graphicalModels/inference/scheduler/schedule.h> 36 template <
typename GUM_SCALAR >
118 #include <agrum/tools/graphicalModels/inference/scheduler/scheduler_tpl.h> virtual std::pair< long, long > memoryUsage(const Schedule< GUM_SCALAR > &) const =0
returns the memory consumption used during the execution of a schedule
virtual Scheduler< GUM_SCALAR > * newFactory() const =0
virtual constructor
virtual bool execute(Schedule< GUM_SCALAR > &)=0
execute all the operations of a given schedule
virtual float nbOperations(const Schedule< GUM_SCALAR > &) const =0
returns an estimation of the number of elementary operations needed to perform a given schedule ...
INLINE void emplace(Args &&... args)
Scheduler(const Scheduler< GUM_SCALAR > &)
copy constructor
virtual ~Scheduler()
destructor
virtual bool execute(Schedule< GUM_SCALAR > &, Size k)=0
execute only k operations of a given schedule (default k = 1)
Scheduler()
default constructor
virtual std::pair< long, long > memoryUsage(const Schedule< GUM_SCALAR > &, Size k) const =0
returns the memory consumption used during the execution of the k first ScheduleOperations of a given...
virtual float nbOperations(const Schedule< GUM_SCALAR > &, Size k) const =0
returns an estimation of the number of elementary operations needed to perform the k first ScheduleOp...