![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
#include <scheduler.h>
Public Member Functions | |
Constructors / Destructors | |
Scheduler () | |
default constructor More... | |
Scheduler (const Scheduler< GUM_SCALAR > &) | |
copy constructor More... | |
virtual | ~Scheduler () |
destructor More... | |
virtual Scheduler< GUM_SCALAR > * | newFactory () const =0 |
virtual constructor More... | |
Accessors/Modifiers | |
virtual bool | execute (Schedule< GUM_SCALAR > &)=0 |
execute all the operations of a given schedule More... | |
virtual bool | execute (Schedule< GUM_SCALAR > &, Size k)=0 |
execute only k operations of a given schedule (default k = 1) More... | |
virtual float | nbOperations (const Schedule< GUM_SCALAR > &) const =0 |
returns an estimation of the number of elementary operations needed to perform a given schedule More... | |
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 ScheduleOperations of a given schedule More... | |
virtual std::pair< long, long > | memoryUsage (const Schedule< GUM_SCALAR > &) const =0 |
returns the memory consumption used during the execution of a schedule More... | |
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 schedule More... | |
Definition at line 37 of file scheduler.h.
gum::Scheduler< GUM_SCALAR >::Scheduler | ( | ) |
default constructor
gum::Scheduler< GUM_SCALAR >::Scheduler | ( | const Scheduler< GUM_SCALAR > & | ) |
copy constructor
|
virtual |
destructor
|
pure virtual |
execute all the operations of a given schedule
Implemented in gum::SchedulerBasic< GUM_SCALAR >.
|
pure virtual |
execute only k operations of a given schedule (default k = 1)
If there are fewer than k operations in the schedule, then all those operations are performed
Implemented in gum::SchedulerBasic< GUM_SCALAR >.
|
pure virtual |
returns the memory consumption used during the execution of a schedule
Actually, this function does not return a precise account of the memory used to perform the schedule but a rough estimate based on the sizes of the tables involved in the schedule.
Implemented in gum::SchedulerBasic< GUM_SCALAR >.
|
pure virtual |
returns the memory consumption used during the execution of the k first ScheduleOperations of a given schedule
Actually, this function does not return a precise account of the memory used to perform the schedule but a rough estimate based on the sizes of the tables involved in the schedule. If there are fewer than k operations in the schedule, then all those operations are taken into account.
Implemented in gum::SchedulerBasic< GUM_SCALAR >.
|
pure virtual |
returns an estimation of the number of elementary operations needed to perform a given schedule
Implemented in gum::SchedulerBasic< GUM_SCALAR >.
|
pure virtual |
returns an estimation of the number of elementary operations needed to perform the k first ScheduleOperations of a given schedule
If there are fewer than k operations in the schedule, then all those operations are taken into account
Implemented in gum::SchedulerBasic< GUM_SCALAR >.
|
pure virtual |