Base class handling the static load balancing of parallel MIMCMC. More...
#include <ParallelFixedSamplesMIMCMC.h>
Base class handling the static load balancing of parallel MIMCMC.
The user can implement a custom load balancing strategy and pass it to the parallel MIMCMC method.
Definition at line 27 of file ParallelFixedSamplesMIMCMC.h.
Classes | |
struct | WorkerAssignment |
Public Member Functions | |
virtual void | setup (std::shared_ptr< ParallelizableMIComponentFactory > componentFactory, uint availableRanks)=0 |
virtual int | numCollectors (std::shared_ptr< MultiIndex > modelIndex)=0 |
Number of collector processes assigned to a model index. More... | |
virtual WorkerAssignment | numWorkers (std::shared_ptr< MultiIndex > modelIndex)=0 |
Number of worker groups and number of workers per group for a given model index. More... | |
|
pure virtual |
Number of collector processes assigned to a model index.
Implemented in muq::SamplingAlgorithms::RoundRobinStaticLoadBalancer.
|
pure virtual |
Number of worker groups and number of workers per group for a given model index.
Implemented in muq::SamplingAlgorithms::RoundRobinStaticLoadBalancer.
|
pure virtual |
Implemented in muq::SamplingAlgorithms::RoundRobinStaticLoadBalancer.