Provides a high level interface for the sampling problems on each MIMCMC level. More...
#include <DefaultComponentFactory.h>
Provides a high level interface for the sampling problems on each MIMCMC level.
Definition at line 17 of file DefaultComponentFactory.h.
Public Member Functions | |
DefaultComponentFactory (boost::property_tree::ptree options, Eigen::VectorXd startingPoint, std::vector< std::shared_ptr< AbstractSamplingProblem >> const &problems) | |
DefaultComponentFactory (boost::property_tree::ptree options, Eigen::VectorXd startingPoint, std::shared_ptr< MultiIndexSet > const &problemIndices, std::vector< std::shared_ptr< AbstractSamplingProblem >> const &problems) | |
virtual | ~DefaultComponentFactory ()=default |
virtual std::shared_ptr< MCMCProposal > | Proposal (std::shared_ptr< MultiIndex > const &index, std::shared_ptr< AbstractSamplingProblem > const &samplingProblem) override |
virtual std::shared_ptr< MultiIndex > | FinestIndex () override |
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) override |
virtual std::shared_ptr< AbstractSamplingProblem > | SamplingProblem (std::shared_ptr< MultiIndex > const &index) override |
virtual std::shared_ptr< MIInterpolation > | Interpolation (std::shared_ptr< MultiIndex > const &index) override |
virtual Eigen::VectorXd | StartingPoint (std::shared_ptr< MultiIndex > const &index) override |
Public Member Functions inherited from muq::SamplingAlgorithms::MIComponentFactory | |
virtual | ~MIComponentFactory ()=default |
virtual bool | IsInverseProblem () |
DefaultComponentFactory::DefaultComponentFactory | ( | boost::property_tree::ptree | options, |
Eigen::VectorXd | startingPoint, | ||
std::vector< std::shared_ptr< AbstractSamplingProblem >> const & | problems | ||
) |
Definition at line 12 of file DefaultComponentFactory.cpp.
muq::SamplingAlgorithms::DefaultComponentFactory::DefaultComponentFactory | ( | boost::property_tree::ptree | options, |
Eigen::VectorXd | startingPoint, | ||
std::shared_ptr< MultiIndexSet > const & | problemIndices, | ||
std::vector< std::shared_ptr< AbstractSamplingProblem >> const & | problems | ||
) |
|
virtualdefault |
|
overridevirtual |
Implements muq::SamplingAlgorithms::MIComponentFactory.
Definition at line 50 of file DefaultComponentFactory.cpp.
References options.
|
overridevirtual |
Implements muq::SamplingAlgorithms::MIComponentFactory.
Definition at line 45 of file DefaultComponentFactory.cpp.
References problemIndices.
|
overridevirtual |
Implements muq::SamplingAlgorithms::MIComponentFactory.
Definition at line 72 of file DefaultComponentFactory.cpp.
|
overridevirtual |
Implements muq::SamplingAlgorithms::MIComponentFactory.
Definition at line 32 of file DefaultComponentFactory.cpp.
References muq::SamplingAlgorithms::MCMCProposal::Construct(), and options.
|
overridevirtual |
Implements muq::SamplingAlgorithms::MIComponentFactory.
Definition at line 60 of file DefaultComponentFactory.cpp.
References problemIndices, and problems.
|
overridevirtual |
Implements muq::SamplingAlgorithms::MIComponentFactory.
Definition at line 77 of file DefaultComponentFactory.cpp.
References startingPoint.
|
private |
Definition at line 48 of file DefaultComponentFactory.h.
Referenced by CoarseProposal(), and Proposal().
|
private |
Definition at line 50 of file DefaultComponentFactory.h.
Referenced by FinestIndex(), and SamplingProblem().
|
private |
Definition at line 51 of file DefaultComponentFactory.h.
Referenced by SamplingProblem().
|
private |
Definition at line 49 of file DefaultComponentFactory.h.
Referenced by StartingPoint().