MIComponentFactory subclass allowing a communicator to be passed. More...
#include <ParallelizableMIComponentFactory.h>
MIComponentFactory subclass allowing a communicator to be passed.
This allows passing a Communicator to processes responsible for setting up parallel SamplingProblems. Needed for parallel MIMCMC and related methods. Implementations will typically pass the given communicator to the model implementations it provides.
Definition at line 25 of file ParallelizableMIComponentFactory.h.
Public Member Functions | |
virtual void | SetComm (std::shared_ptr< parcer::Communicator > const &comm)=0 |
Public Member Functions inherited from muq::SamplingAlgorithms::MIComponentFactory | |
virtual | ~MIComponentFactory ()=default |
virtual std::shared_ptr< MCMCProposal > | Proposal (std::shared_ptr< MultiIndex > const &index, std::shared_ptr< AbstractSamplingProblem > const &samplingProblem)=0 |
virtual std::shared_ptr< MCMCProposal > | CoarseProposal (std::shared_ptr< MultiIndex > const &fineIndex, std::shared_ptr< MultiIndex > const &coarseIndex, std::shared_ptr< AbstractSamplingProblem > const &coarseProblem, std::shared_ptr< SingleChainMCMC > const &coarseChain)=0 |
virtual std::shared_ptr< AbstractSamplingProblem > | SamplingProblem (std::shared_ptr< MultiIndex > const &index)=0 |
virtual std::shared_ptr< MIInterpolation > | Interpolation (std::shared_ptr< MultiIndex > const &index)=0 |
virtual Eigen::VectorXd | StartingPoint (std::shared_ptr< MultiIndex > const &index)=0 |
virtual std::shared_ptr< MultiIndex > | FinestIndex ()=0 |
virtual bool | IsInverseProblem () |
|
pure virtual |