MUQ  0.4.3
MyMIComponentFactory Class Reference

#include <ParallelProblem.h>

Inheritance diagram for MyMIComponentFactory:

Detailed Description

Definition at line 39 of file ParallelProblem.h.

Public Member Functions

 MyMIComponentFactory (pt::ptree pt)
 
virtual bool IsInverseProblem () override
 
void SetComm (std::shared_ptr< parcer::Communicator > const &comm) override
 
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
 
 MyMIComponentFactory (pt::ptree pt)
 
virtual bool IsInverseProblem () override
 
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
 
 MyMIComponentFactory (Eigen::VectorXd const &start, pt::ptree pt)
 
virtual std::shared_ptr< MCMCProposalProposal (std::shared_ptr< MultiIndex > const &index, std::shared_ptr< AbstractSamplingProblem > const &samplingProblem) override
 
virtual std::shared_ptr< MultiIndex > FinestIndex () override
 
virtual std::shared_ptr< MCMCProposalCoarseProposal (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< AbstractSamplingProblemSamplingProblem (std::shared_ptr< MultiIndex > const &index) override
 
virtual std::shared_ptr< MIInterpolationInterpolation (std::shared_ptr< MultiIndex > const &index) override
 
virtual Eigen::VectorXd StartingPoint (std::shared_ptr< MultiIndex > const &index) override
 
 MyMIComponentFactory (pt::ptree pt)
 
void SetComm (std::shared_ptr< parcer::Communicator > const &comm) override
 
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
 
 MyMIComponentFactory (Eigen::VectorXd const &start, pt::ptree pt)
 
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
 
 MyMIComponentFactory (pt::ptree pt)
 
void SetComm (std::shared_ptr< parcer::Communicator > const &comm) override
 
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
 

Constructor & Destructor Documentation

◆ MyMIComponentFactory() [1/6]

MyMIComponentFactory::MyMIComponentFactory ( pt::ptree  pt)
inline

Definition at line 41 of file ParallelProblem.h.

◆ MyMIComponentFactory() [2/6]

MyMIComponentFactory::MyMIComponentFactory ( pt::ptree  pt)
inline

Definition at line 41 of file Problem.h.

◆ MyMIComponentFactory() [3/6]

MyMIComponentFactory::MyMIComponentFactory ( Eigen::VectorXd const &  start,
pt::ptree  pt 
)
inline

Definition at line 85 of file MultilevelMCMC_AdvancedInterface.cpp.

◆ MyMIComponentFactory() [4/6]

MyMIComponentFactory::MyMIComponentFactory ( pt::ptree  pt)
inline

Definition at line 39 of file ParallelProblem.h.

◆ MyMIComponentFactory() [5/6]

MyMIComponentFactory::MyMIComponentFactory ( Eigen::VectorXd const &  start,
pt::ptree  pt 
)
inline

Definition at line 39 of file Problem.h.

◆ MyMIComponentFactory() [6/6]

MyMIComponentFactory::MyMIComponentFactory ( pt::ptree  pt)
inline

Definition at line 39 of file ParallelProblem.h.

Member Function Documentation

◆ CoarseProposal() [1/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::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 
)
inlineoverridevirtual

Definition at line 91 of file ParallelProblem.h.

References pt.

◆ CoarseProposal() [2/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::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 
)
inlineoverridevirtual

Definition at line 87 of file Problem.h.

References pt.

◆ CoarseProposal() [3/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::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 
)
inlineoverridevirtual

Definition at line 111 of file MultilevelMCMC_AdvancedInterface.cpp.

◆ CoarseProposal() [4/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::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 
)
inlineoverridevirtual

Definition at line 69 of file ParallelProblem.h.

References pt.

◆ CoarseProposal() [5/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::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 
)
inlineoverridevirtual

Definition at line 65 of file Problem.h.

References pt.

◆ CoarseProposal() [6/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::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 
)
inlineoverridevirtual

Definition at line 70 of file ParallelProblem.h.

References pt.

◆ FinestIndex() [1/6]

virtual std::shared_ptr<MultiIndex> MyMIComponentFactory::FinestIndex ( )
inlineoverridevirtual

Definition at line 85 of file ParallelProblem.h.

◆ FinestIndex() [2/6]

virtual std::shared_ptr<MultiIndex> MyMIComponentFactory::FinestIndex ( )
inlineoverridevirtual

Definition at line 81 of file Problem.h.

◆ FinestIndex() [3/6]

virtual std::shared_ptr<MultiIndex> MyMIComponentFactory::FinestIndex ( )
inlineoverridevirtual

Definition at line 105 of file MultilevelMCMC_AdvancedInterface.cpp.

◆ FinestIndex() [4/6]

virtual std::shared_ptr<MultiIndex> MyMIComponentFactory::FinestIndex ( )
inlineoverridevirtual

Definition at line 63 of file ParallelProblem.h.

◆ FinestIndex() [5/6]

virtual std::shared_ptr<MultiIndex> MyMIComponentFactory::FinestIndex ( )
inlineoverridevirtual

Definition at line 59 of file Problem.h.

◆ FinestIndex() [6/6]

virtual std::shared_ptr<MultiIndex> MyMIComponentFactory::FinestIndex ( )
inlineoverridevirtual

Definition at line 63 of file ParallelProblem.h.

◆ Interpolation() [1/6]

virtual std::shared_ptr<MIInterpolation> MyMIComponentFactory::Interpolation ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 134 of file ParallelProblem.h.

◆ Interpolation() [2/6]

virtual std::shared_ptr<MIInterpolation> MyMIComponentFactory::Interpolation ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 130 of file Problem.h.

◆ Interpolation() [3/6]

virtual std::shared_ptr<MIInterpolation> MyMIComponentFactory::Interpolation ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 148 of file MultilevelMCMC_AdvancedInterface.cpp.

◆ Interpolation() [4/6]

virtual std::shared_ptr<MIInterpolation> MyMIComponentFactory::Interpolation ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 106 of file ParallelProblem.h.

◆ Interpolation() [5/6]

virtual std::shared_ptr<MIInterpolation> MyMIComponentFactory::Interpolation ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 102 of file Problem.h.

◆ Interpolation() [6/6]

virtual std::shared_ptr<MIInterpolation> MyMIComponentFactory::Interpolation ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 117 of file ParallelProblem.h.

◆ IsInverseProblem() [1/2]

virtual bool MyMIComponentFactory::IsInverseProblem ( )
inlineoverridevirtual

Definition at line 45 of file ParallelProblem.h.

◆ IsInverseProblem() [2/2]

virtual bool MyMIComponentFactory::IsInverseProblem ( )
inlineoverridevirtual

Definition at line 45 of file Problem.h.

◆ Proposal() [1/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::Proposal ( std::shared_ptr< MultiIndex > const &  index,
std::shared_ptr< AbstractSamplingProblem > const &  samplingProblem 
)
inlineoverridevirtual

Definition at line 53 of file ParallelProblem.h.

References pt.

◆ Proposal() [2/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::Proposal ( std::shared_ptr< MultiIndex > const &  index,
std::shared_ptr< AbstractSamplingProblem > const &  samplingProblem 
)
inlineoverridevirtual

Definition at line 49 of file Problem.h.

References pt.

◆ Proposal() [3/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::Proposal ( std::shared_ptr< MultiIndex > const &  index,
std::shared_ptr< AbstractSamplingProblem > const &  samplingProblem 
)
inlineoverridevirtual

Definition at line 89 of file MultilevelMCMC_AdvancedInterface.cpp.

◆ Proposal() [4/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::Proposal ( std::shared_ptr< MultiIndex > const &  index,
std::shared_ptr< AbstractSamplingProblem > const &  samplingProblem 
)
inlineoverridevirtual

Definition at line 47 of file ParallelProblem.h.

References pt.

◆ Proposal() [5/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::Proposal ( std::shared_ptr< MultiIndex > const &  index,
std::shared_ptr< AbstractSamplingProblem > const &  samplingProblem 
)
inlineoverridevirtual

Definition at line 43 of file Problem.h.

References pt.

◆ Proposal() [6/6]

virtual std::shared_ptr<MCMCProposal> MyMIComponentFactory::Proposal ( std::shared_ptr< MultiIndex > const &  index,
std::shared_ptr< AbstractSamplingProblem > const &  samplingProblem 
)
inlineoverridevirtual

Definition at line 47 of file ParallelProblem.h.

◆ SamplingProblem() [1/6]

virtual std::shared_ptr<AbstractSamplingProblem> MyMIComponentFactory::SamplingProblem ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 106 of file ParallelProblem.h.

◆ SamplingProblem() [2/6]

virtual std::shared_ptr<AbstractSamplingProblem> MyMIComponentFactory::SamplingProblem ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 102 of file Problem.h.

◆ SamplingProblem() [3/6]

virtual std::shared_ptr<AbstractSamplingProblem> MyMIComponentFactory::SamplingProblem ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 120 of file MultilevelMCMC_AdvancedInterface.cpp.

◆ SamplingProblem() [4/6]

virtual std::shared_ptr<AbstractSamplingProblem> MyMIComponentFactory::SamplingProblem ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 78 of file ParallelProblem.h.

◆ SamplingProblem() [5/6]

virtual std::shared_ptr<AbstractSamplingProblem> MyMIComponentFactory::SamplingProblem ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 74 of file Problem.h.

◆ SamplingProblem() [6/6]

virtual std::shared_ptr<AbstractSamplingProblem> MyMIComponentFactory::SamplingProblem ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 79 of file ParallelProblem.h.

◆ SetComm() [1/3]

void MyMIComponentFactory::SetComm ( std::shared_ptr< parcer::Communicator > const &  comm)
inlineoverride

Definition at line 49 of file ParallelProblem.h.

◆ SetComm() [2/3]

void MyMIComponentFactory::SetComm ( std::shared_ptr< parcer::Communicator > const &  comm)
inlineoverride

Definition at line 43 of file ParallelProblem.h.

◆ SetComm() [3/3]

void MyMIComponentFactory::SetComm ( std::shared_ptr< parcer::Communicator > const &  comm)
inlineoverride

Definition at line 43 of file ParallelProblem.h.

◆ StartingPoint() [1/6]

virtual Eigen::VectorXd MyMIComponentFactory::StartingPoint ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 138 of file ParallelProblem.h.

◆ StartingPoint() [2/6]

virtual Eigen::VectorXd MyMIComponentFactory::StartingPoint ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 134 of file Problem.h.

◆ StartingPoint() [3/6]

virtual Eigen::VectorXd MyMIComponentFactory::StartingPoint ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 152 of file MultilevelMCMC_AdvancedInterface.cpp.

◆ StartingPoint() [4/6]

virtual Eigen::VectorXd MyMIComponentFactory::StartingPoint ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 110 of file ParallelProblem.h.

◆ StartingPoint() [5/6]

virtual Eigen::VectorXd MyMIComponentFactory::StartingPoint ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 106 of file Problem.h.

References startingPoint.

◆ StartingPoint() [6/6]

virtual Eigen::VectorXd MyMIComponentFactory::StartingPoint ( std::shared_ptr< MultiIndex > const &  index)
inlineoverridevirtual

Definition at line 121 of file ParallelProblem.h.

Member Data Documentation

◆ pt

pt::ptree MyMIComponentFactory::pt
private

Definition at line 145 of file ParallelProblem.h.

Referenced by CoarseProposal(), and Proposal().

◆ startingPoint

Eigen::VectorXd MyMIComponentFactory::startingPoint
private

Definition at line 157 of file MultilevelMCMC_AdvancedInterface.cpp.

Referenced by StartingPoint().


The documentation for this class was generated from the following files: