62 if (megabytes < 0.0) megabytes = 0.0;
SchedulerParallel _scheduler_parallel_
void setMaxMemory(double megabytes)
sets an upper bound on the memory consumption admissible
Scheduler & scheduler() const
returns the current scheduler
SchedulerSequential _scheduler_sequential_
void setNumberOfThreads(Size nb) final
sets the number max of threads that can be used
virtual double maxMemory() const
returns the Max memory (in megabytes) available for executing schedules
A scheduler that executes available operators in parallel.
The common interface of all the schedulers.
virtual Size getNumberOfThreads() const
returns the current max number of threads used by the class containing this ThreadNumberManager
virtual void setNumberOfThreads(Size nb)
sets the number max of threads to be used by the class containing this ThreadNumberManager
std::size_t Size
In aGrUM, hashed values are unsigned long int.
gum is the global namespace for all aGrUM entities
The class enabling flexible inferences using schedules.